1 #ifndef BOOST_METAPARSE_V1_IMPL_SKIP_SEQ_HPP
2 #define BOOST_METAPARSE_V1_IMPL_SKIP_SEQ_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/is_error.hpp>
10 #include <boost/metaparse/v1/accept.hpp>
11 #include <boost/metaparse/v1/get_remaining.hpp>
12 #include <boost/metaparse/v1/get_position.hpp>
13 #include <boost/metaparse/v1/get_result.hpp>
26 template <class ParsingResult, class NewResultValue>
27 struct change_result :
30 typename get_remaining<ParsingResult>::type,
31 typename get_position<ParsingResult>::type
35 template <class Result, class P>
36 struct apply_unchecked :
39 typename P::template apply<
40 typename get_remaining<Result>::type,
41 typename get_position<Result>::type
44 typename P::template apply<
45 typename get_remaining<Result>::type,
46 typename get_position<Result>::type
49 typename P::template apply<
50 typename get_remaining<Result>::type,
51 typename get_position<Result>::type
53 typename get_result<Result>::type
59 template <class Result, class P>
64 apply_unchecked<Result, P>