1 #ifndef BOOST_METAPARSE_V1_CPP11_IMPL_PUSH_FRONT_RESULT_HPP 2 #define BOOST_METAPARSE_V1_CPP11_IMPL_PUSH_FRONT_RESULT_HPP 3 4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2018. 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/get_result.hpp> 10 11 #include <boost/mpl/push_front.hpp> 12 13 namespace boost 14 { 15 namespace metaparse 16 { 17 namespace v1 18 { 19 namespace impl 20 { 21 template <class Value> 22 struct push_front_result 23 { 24 typedef push_front_result type; 25 26 template <class Seq> 27 struct apply : 28 boost::mpl::push_front<Seq, typename get_result<Value>::type> 29 {}; 30 }; 31 } 32 } 33 } 34 } 35 36 #endif 37