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

5 lines
333 B
Plaintext

[#getting_started_26]
using mult_exp3 = foldr_start_with_parser< sequence<int_token, one_of<times_token, divides_token>>, /* The parser applied repeatedly */ int_token, /* The parser parsing the last number */ boost::mpl::quote2<reverse_binary_op> /* The function called for every result */ /* of applying the above parser */ >;