File indexing completed on 2025-01-18 09:40:49
0001 #ifndef BOOST_METAPARSE_V1_UTIL_INT_TO_DIGIT_C_HPP
0002 #define BOOST_METAPARSE_V1_UTIL_INT_TO_DIGIT_C_HPP
0003
0004
0005
0006
0007
0008
0009 #include <boost/mpl/char.hpp>
0010
0011 namespace boost
0012 {
0013 namespace metaparse
0014 {
0015 namespace v1
0016 {
0017 namespace util
0018 {
0019 template <int N>
0020 struct int_to_digit_c;
0021
0022 template <> struct int_to_digit_c<0> : boost::mpl::char_<'0'> {};
0023 template <> struct int_to_digit_c<1> : boost::mpl::char_<'1'> {};
0024 template <> struct int_to_digit_c<2> : boost::mpl::char_<'2'> {};
0025 template <> struct int_to_digit_c<3> : boost::mpl::char_<'3'> {};
0026 template <> struct int_to_digit_c<4> : boost::mpl::char_<'4'> {};
0027 template <> struct int_to_digit_c<5> : boost::mpl::char_<'5'> {};
0028 template <> struct int_to_digit_c<6> : boost::mpl::char_<'6'> {};
0029 template <> struct int_to_digit_c<7> : boost::mpl::char_<'7'> {};
0030 template <> struct int_to_digit_c<8> : boost::mpl::char_<'8'> {};
0031 template <> struct int_to_digit_c<9> : boost::mpl::char_<'9'> {};
0032 }
0033 }
0034 }
0035 }
0036
0037 #endif
0038