File indexing completed on 2025-01-18 09:40:49
0001 #ifndef BOOST_METAPARSE_V1_FOLDR_REJECT_INCOMPLETE1_HPP
0002 #define BOOST_METAPARSE_V1_FOLDR_REJECT_INCOMPLETE1_HPP
0003
0004
0005
0006
0007
0008
0009 #include <boost/metaparse/v1/foldr_reject_incomplete.hpp>
0010
0011 #include <boost/mpl/if.hpp>
0012
0013 namespace boost
0014 {
0015 namespace metaparse
0016 {
0017 namespace v1
0018 {
0019 template <class P, class State, class BackwardOp>
0020 struct foldr_reject_incomplete1
0021 {
0022 typedef foldr_reject_incomplete1 type;
0023
0024 template <class S, class Pos>
0025 struct apply :
0026 boost::mpl::if_<
0027 is_error<typename P::template apply<S, Pos> >,
0028 P,
0029 foldr_reject_incomplete<P, State, BackwardOp>
0030 >::type::template apply<S, Pos>
0031 {};
0032 };
0033 }
0034 }
0035 }
0036
0037 #endif
0038