1 #ifndef BOOST_METAPARSE_V1_REJECT_HPP
2 #define BOOST_METAPARSE_V1_REJECT_HPP
3 
4 // Copyright Abel Sinkovics (abel@sinkovics.hu)  2014.
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)
8 
9 #include <boost/metaparse/v1/fwd/reject.hpp>
10 #include <boost/metaparse/v1/fail_tag.hpp>
11 
12 namespace boost
13 {
14   namespace metaparse
15   {
16     namespace v1
17     {
18       template <class Msg, class Pos>
19       struct reject
20       {
21         typedef fail_tag tag;
22 
23         typedef reject<Msg, typename Pos::type> type;
24 
25         typedef Pos source_position;
26         typedef Msg message;
27       };
28     }
29   }
30 }
31 
32 #endif
33 
34