1 #ifndef BOOST_METAPARSE_V1_ACCEPT_TAG_HPP
2 #define BOOST_METAPARSE_V1_ACCEPT_TAG_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
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)
9 #include <boost/metaparse/v1/fwd/get_remaining.hpp>
10 #include <boost/metaparse/v1/fwd/get_position.hpp>
11 #include <boost/metaparse/v1/fwd/get_result.hpp>
20 struct accept_tag { typedef accept_tag type; };
23 struct get_position_impl<accept_tag>
26 struct apply : A::source_position {};
30 struct get_remaining_impl<accept_tag>
33 struct apply : A::remaining {};
37 struct get_result_impl<accept_tag>
40 struct apply { typedef typename A::result type; };