[#get_remaining] [section get_remaining] [h1 Synopsis] template struct get_remaining; This is a [link lazy_metafunction lazy template metafunction]. [table Arguments [[Name] [Type]] [[`D`] [[link accept accept] value]] ] [h1 Description] Returns the remaining string information of a parsing result. [h1 Header] #include [h1 Example] #include #include #include #include #include using namespace boost::metaparse; struct returns_accept { using type = accept< std::integral_constant, BOOST_METAPARSE_STRING("foo"), start >; }; static_assert( std::is_same< BOOST_METAPARSE_STRING("foo"), get_remaining< accept< std::integral_constant, BOOST_METAPARSE_STRING("foo"), start > >::type >::type::value, "It should return the remaining input" ); static_assert( std::is_same< BOOST_METAPARSE_STRING("foo"), get_remaining::type >::type::value, "It should support lazy evaluation" ); [endsect]