1 #ifndef BOOST_METAPARSE_V1_ACCEPT_HPP
2 #define BOOST_METAPARSE_V1_ACCEPT_HPP
3 
4 // Copyright Abel Sinkovics (abel@sinkovics.hu)  2014.
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/fwd/accept.hpp>
10 #include <boost/metaparse/v1/accept_tag.hpp>
11 
12 namespace boost
13 {
14   namespace metaparse
15   {
16     namespace v1
17     {
18       template <class Result, class Remaining, class Pos>
19       struct accept
20       {
21         typedef accept_tag tag;
22 
23         typedef
24           accept<Result, typename Remaining::type, typename Pos::type>
25           type;
26 
27         typedef Result result;
28         typedef Remaining remaining;
29         typedef Pos source_position;
30       };
31     }
32   }
33 }
34 
35 #endif
36 
37