foldr_reject_incomplete1.cpp 721 B

123456789101112131415161718192021222324252627
  1. // Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #include <boost/metaparse/foldr_reject_incomplete1.hpp>
  6. #include <boost/metaparse/v1/impl/front_inserter.hpp>
  7. #include <boost/mpl/list.hpp>
  8. using boost::metaparse::foldr_reject_incomplete1;
  9. using boost::metaparse::v1::impl::front_inserter;
  10. using boost::mpl::list;
  11. namespace
  12. {
  13. template <class P>
  14. struct repeated_reject_incomplete1 :
  15. foldr_reject_incomplete1<P, list<>, front_inserter>
  16. {};
  17. }
  18. #define TEST_NAME foldr_reject_incomplete1
  19. #include "repeated_reject_incomplete1_test.hpp"