Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:49

0001 #ifndef BOOST_METAPARSE_V1_FOLDR_REJECT_INCOMPLETE_HPP
0002 #define BOOST_METAPARSE_V1_FOLDR_REJECT_INCOMPLETE_HPP
0003 
0004 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
0005 // Distributed under the Boost Software License, Version 1.0.
0006 //    (See accompanying file LICENSE_1_0.txt or copy at
0007 //          http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 #include <boost/metaparse/v1/return_.hpp>
0010 #include <boost/metaparse/v1/foldr_start_with_parser.hpp>
0011 #include <boost/metaparse/v1/first_of.hpp>
0012 #include <boost/metaparse/v1/fail_at_first_char_expected.hpp>
0013 
0014 namespace boost
0015 {
0016   namespace metaparse
0017   {
0018     namespace v1
0019     {
0020       template <class P, class State, class BackwardOp>
0021       struct foldr_reject_incomplete :
0022         foldr_start_with_parser<
0023           P,
0024           first_of<return_<State>, fail_at_first_char_expected<P> >,
0025           BackwardOp
0026         >
0027       {};
0028     }
0029   }
0030 }
0031 
0032 #endif
0033