Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:49

0001 #ifndef BOOST_METAPARSE_V1_IMPL_ITERATE_IMPL_UNCHECKED_HPP
0002 #define BOOST_METAPARSE_V1_IMPL_ITERATE_IMPL_UNCHECKED_HPP
0003 
0004 // Copyright Abel Sinkovics (abel@sinkovics.hu)  2013.
0005 // Distributed under the Boost Software License, Version 1.0.
0006 //    (See accompanying file LICENSE_1_0.txt or copy at
0007 //          http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 #include <boost/metaparse/v1/impl/fwd/iterate_impl.hpp>
0010 #include <boost/metaparse/v1/get_result.hpp>
0011 #include <boost/metaparse/v1/get_remaining.hpp>
0012 #include <boost/metaparse/v1/get_position.hpp>
0013 
0014 #include <boost/mpl/push_back.hpp>
0015 
0016 namespace boost
0017 {
0018   namespace metaparse
0019   {
0020     namespace v1
0021     {
0022       namespace impl
0023       {
0024         template <int N, class P, class Accum, class S, class Pos>
0025         struct iterate_impl_unchecked :
0026           iterate_impl<
0027             N - 1,
0028             P,
0029             typename boost::mpl::push_back<
0030               Accum,
0031               typename get_result<typename P::template apply<S, Pos> >::type
0032             >::type
0033           >::template apply<
0034             typename get_remaining<typename P::template apply<S, Pos> >::type,
0035             typename get_position<typename P::template apply<S, Pos> >::type
0036           >
0037         {};
0038       }
0039     }
0040   }
0041 }
0042 
0043 #endif
0044