1 #ifndef BOOST_METAPARSE_V1_CPP98_IMPL_PUSH_BACK_C_HPP 2 #define BOOST_METAPARSE_V1_CPP98_IMPL_PUSH_BACK_C_HPP 3 4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. 5 // Distributed under the Boost Software License, Version 1.0. 6 // (See accompanying file LICENSE_1_0.txt or copy at 7 // http://www.boost.org/LICENSE_1_0.txt) 8 9 #include <boost/metaparse/v1/cpp98/fwd/string.hpp> 10 #include <boost/metaparse/v1/cpp98/impl/update_c.hpp> 11 #include <boost/metaparse/v1/cpp98/impl/size.hpp> 12 13 namespace boost 14 { 15 namespace metaparse 16 { 17 namespace v1 18 { 19 namespace impl 20 { 21 template <class S, char C> 22 struct push_back_c; 23 24 template <class S, char C> 25 struct push_back_c : 26 update_c<typename S::type, size<typename S::type>::type::value, C> 27 {}; 28 } 29 } 30 } 31 } 32 33 #endif 34 35