1 #ifndef BOOST_METAPARSE_V1_EMPTY_HPP
2 #define BOOST_METAPARSE_V1_EMPTY_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2010 - 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/error/end_of_input_expected.hpp>
10 #include <boost/metaparse/v1/reject.hpp>
11 #include <boost/metaparse/v1/accept.hpp>
12 #include <boost/metaparse/v1/define_error.hpp>
14 #include <boost/mpl/empty.hpp>
15 #include <boost/mpl/if.hpp>
23 template <class Result>
28 template <class S, class Pos>
32 accept<Result, S, Pos>,
33 reject<error::end_of_input_expected, Pos>