metaparse/doc/getting_started_15.qbk
2015-09-05 16:11:18 +02:00

5 lines
305 B
Plaintext

[#getting_started_15]
using exp_parser11 = build_parser< foldl_start_with_parser< sequence<plus_token, int_token>, /* apply this parser repeatedly */ int_token, /* use this parser to get the initial value */ boost::mpl::quote2<sum_items> /* use this function to add a new value to the summary */ > >;