Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef BOOST_METAPARSE_V1_LIT_C_HPP
0002 #define BOOST_METAPARSE_V1_LIT_C_HPP
0003 
0004 // Copyright Abel Sinkovics (abel@sinkovics.hu)  2009 - 2010.
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/error/literal_expected.hpp>
0010 #include <boost/metaparse/v1/accept_when.hpp>
0011 #include <boost/metaparse/v1/one_char.hpp>
0012 #include <boost/metaparse/v1/change_error_message.hpp>
0013 #include <boost/metaparse/v1/impl/is_char_c.hpp>
0014 
0015 namespace boost
0016 {
0017   namespace metaparse
0018   {
0019     namespace v1
0020     {
0021       template <char C>
0022       struct lit_c :
0023         accept_when<
0024           change_error_message<one_char, error::literal_expected<C> >,
0025           impl::is_char_c<C>,
0026           error::literal_expected<C>
0027         >
0028       {};
0029     }
0030   }
0031 }
0032 
0033 #endif
0034