Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef BOOST_METAPARSE_V1_REJECT_HPP
0002 #define BOOST_METAPARSE_V1_REJECT_HPP
0003 
0004 // Copyright Abel Sinkovics (abel@sinkovics.hu)  2014.
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/fwd/reject.hpp>
0010 #include <boost/metaparse/v1/fail_tag.hpp>
0011 
0012 namespace boost
0013 {
0014   namespace metaparse
0015   {
0016     namespace v1
0017     {
0018       template <class Msg, class Pos>
0019       struct reject
0020       {
0021         typedef fail_tag tag;
0022 
0023         typedef reject<Msg, typename Pos::type> type;
0024         
0025         typedef Pos source_position;
0026         typedef Msg message;
0027       };
0028     }
0029   }
0030 }
0031 
0032 #endif
0033