5_2_4.hpp 556 B

123456789101112131415161718192021222324252627
  1. #ifndef BOOST_METAPARSE_GETTING_STARTED_5_2_4_HPP
  2. #define BOOST_METAPARSE_GETTING_STARTED_5_2_4_HPP
  3. // Automatically generated header file
  4. // Definitions before section 5.2.3
  5. #include "5_2_3.hpp"
  6. // Definitions of section 5.2.3
  7. #include <boost/metaparse/foldl.hpp>
  8. using exp_parser10 =
  9. build_parser<
  10. transform<
  11. sequence<
  12. int_token,
  13. foldl<
  14. sequence<plus_token, int_token>,
  15. boost::mpl::int_<0>,
  16. boost::mpl::quote2<sum_items>
  17. >
  18. >,
  19. boost::mpl::quote1<sum_vector>>
  20. >;
  21. #endif