Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef BOOST_METAPARSE_V1_ACCEPT_HPP
0002 #define BOOST_METAPARSE_V1_ACCEPT_HPP
0003 
0004 // Copyright Abel Sinkovics (abel@sinkovics.hu)  2014.
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/fwd/accept.hpp>
0010 #include <boost/metaparse/v1/accept_tag.hpp>
0011 
0012 namespace boost
0013 {
0014   namespace metaparse
0015   {
0016     namespace v1
0017     {
0018       template <class Result, class Remaining, class Pos>
0019       struct accept
0020       {
0021         typedef accept_tag tag;
0022 
0023         typedef
0024           accept<Result, typename Remaining::type, typename Pos::type>
0025           type;
0026 
0027         typedef Result result;
0028         typedef Remaining remaining;
0029         typedef Pos source_position;
0030       };
0031     }
0032   }
0033 }
0034 
0035 #endif
0036