1 #ifndef BOOST_METAPARSE_V1_ENTIRE_INPUT_HPP
2 #define BOOST_METAPARSE_V1_ENTIRE_INPUT_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2011.
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/first_of.hpp>
10 #include <boost/metaparse/v1/empty.hpp>
11 #include <boost/metaparse/v1/change_error_message.hpp>
19 template <class P, class Msg = error::end_of_input_expected>
21 first_of<P, change_error_message<empty<void>, Msg> >
25 struct entire_input<P, error::end_of_input_expected> :
26 first_of<P, empty<void> >