1 #ifndef BOOST_METAPARSE_V1_FOLDR_REJECT_INCOMPLETE_HPP
2 #define BOOST_METAPARSE_V1_FOLDR_REJECT_INCOMPLETE_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 #include <boost/metaparse/v1/return_.hpp>
10 #include <boost/metaparse/v1/foldr_start_with_parser.hpp>
11 #include <boost/metaparse/v1/first_of.hpp>
12 #include <boost/metaparse/v1/fail_at_first_char_expected.hpp>
20 template <class P, class State, class BackwardOp>
21 struct foldr_reject_incomplete :
22 foldr_start_with_parser<
24 first_of<return_<State>, fail_at_first_char_expected<P> >,