Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef BOOST_METAPARSE_V1_CPP98_IMPL_SEQUENCE_IMPL_HPP
0002 #define BOOST_METAPARSE_V1_CPP98_IMPL_SEQUENCE_IMPL_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/apply_parser.hpp>
0010 #include <boost/metaparse/v1/accept.hpp>
0011 
0012 #include <boost/mpl/deque.hpp>
0013 #include <boost/mpl/fold.hpp>
0014 
0015 namespace boost
0016 {
0017   namespace metaparse
0018   {
0019     namespace v1
0020     {
0021       namespace impl
0022       {
0023         template <class Ps, class S, class Pos>
0024         struct sequence_impl :
0025           boost::mpl::fold<
0026             Ps,
0027             accept<boost::mpl::deque<>, S, Pos>,
0028             apply_parser
0029           >
0030         {};
0031       }
0032     }
0033   }
0034 }
0035 
0036 #endif
0037