9 This is a [link lazy_metafunction lazy template metafunction].
13 [[`D`] [[link accept accept] value]]
18 Returns the result information of a parsing result.
22 #include <boost/metaparse/get_result.hpp>
26 #include <boost/metaparse/get_result.hpp>
27 #include <boost/metaparse/start.hpp>
28 #include <boost/metaparse/accept.hpp>
29 #include <boost/metaparse/string.hpp>
31 using namespace boost::metaparse;
37 std::integral_constant<int, 13>,
38 BOOST_METAPARSE_STRING("foo"),
46 std::integral_constant<int, 13>,
47 BOOST_METAPARSE_STRING("foo"),
51 "It should return the result of parsing"
55 get_result<returns_accept>::type::value == 13,
56 "It should support lazy evaluation"