File indexing completed on 2025-01-18 09:40:49
0001 #ifndef BOOST_METAPARSE_V1_ENTIRE_INPUT_HPP
0002 #define BOOST_METAPARSE_V1_ENTIRE_INPUT_HPP
0003
0004
0005
0006
0007
0008
0009 #include <boost/metaparse/v1/first_of.hpp>
0010 #include <boost/metaparse/v1/empty.hpp>
0011 #include <boost/metaparse/v1/change_error_message.hpp>
0012
0013 namespace boost
0014 {
0015 namespace metaparse
0016 {
0017 namespace v1
0018 {
0019 template <class P, class Msg = error::end_of_input_expected>
0020 struct entire_input :
0021 first_of<P, change_error_message<empty<void>, Msg> >
0022 {};
0023
0024 template <class P>
0025 struct entire_input<P, error::end_of_input_expected> :
0026 first_of<P, empty<void> >
0027 {};
0028 }
0029 }
0030 }
0031
0032 #endif
0033