File indexing completed on 2025-01-18 09:40:49
0001 #ifndef BOOST_METAPARSE_V1_RANGE_C_HPP
0002 #define BOOST_METAPARSE_V1_RANGE_C_HPP
0003
0004
0005
0006
0007
0008
0009 #include <boost/metaparse/v1/accept_when.hpp>
0010 #include <boost/metaparse/v1/one_char.hpp>
0011 #include <boost/metaparse/v1/util/in_range_c.hpp>
0012 #include <boost/metaparse/v1/error/unexpected_character.hpp>
0013
0014 namespace boost
0015 {
0016 namespace metaparse
0017 {
0018 namespace v1
0019 {
0020 template <char From, char To>
0021 struct range_c :
0022 accept_when<
0023 one_char,
0024 util::in_range_c<char, From, To>,
0025 error::unexpected_character
0026 >
0027 {};
0028 }
0029 }
0030 }
0031
0032 #endif
0033