2 [section get_remaining]
9 This is a [link lazy_metafunction lazy template metafunction].
13 [[`D`] [[link accept accept] value]]
18 Returns the remaining string information of a parsing result.
22 #include <boost/metaparse/get_remaining.hpp>
26 #include <boost/metaparse/get_remaining.hpp>
27 #include <boost/metaparse/start.hpp>
28 #include <boost/metaparse/accept.hpp>
29 #include <boost/metaparse/string.hpp>
31 #include <type_traits>
33 using namespace boost::metaparse;
39 std::integral_constant<int, 13>,
40 BOOST_METAPARSE_STRING("foo"),
47 BOOST_METAPARSE_STRING("foo"),
50 std::integral_constant<int, 13>,
51 BOOST_METAPARSE_STRING("foo"),
56 "It should return the remaining input"
61 BOOST_METAPARSE_STRING("foo"),
62 get_remaining<returns_accept>::type
64 "It should support lazy evaluation"