1 #ifndef BOOST_METAPARSE_V1_FOLDL_REJECT_INCOMPLETE1_HPP
2 #define BOOST_METAPARSE_V1_FOLDL_REJECT_INCOMPLETE1_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/foldl_reject_incomplete.hpp>
11 #include <boost/mpl/if.hpp>
19 template <class P, class State, class ForwardOp>
20 struct foldl_reject_incomplete1
22 typedef foldl_reject_incomplete1 type;
24 template <class S, class Pos>
27 is_error<typename P::template apply<S, Pos> >,
29 foldl_reject_incomplete<P, State, ForwardOp>
30 >::type::template apply<S, Pos>