foldr.hpp 630 B

12345678910111213141516171819202122232425
  1. #ifndef BOOST_METAPARSE_V1_FOLDR_HPP
  2. #define BOOST_METAPARSE_V1_FOLDR_HPP
  3. // Copyright Abel Sinkovics ([email protected]) 2011 - 2012.
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #include <boost/metaparse/v1/return_.hpp>
  8. #include <boost/metaparse/v1/foldr_start_with_parser.hpp>
  9. namespace boost
  10. {
  11. namespace metaparse
  12. {
  13. namespace v1
  14. {
  15. template <class P, class State, class BackwardOp>
  16. struct foldr : foldr_start_with_parser<P, return_<State>, BackwardOp> {};
  17. }
  18. }
  19. }
  20. #endif