1 #ifndef BOOST_METAPARSE_V1_UTIL_INT_TO_DIGIT_C_HPP
2 #define BOOST_METAPARSE_V1_UTIL_INT_TO_DIGIT_C_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
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)
9 #include <boost/mpl/char.hpp>
20 struct int_to_digit_c;
22 template <> struct int_to_digit_c<0> : boost::mpl::char_<'0'> {};
23 template <> struct int_to_digit_c<1> : boost::mpl::char_<'1'> {};
24 template <> struct int_to_digit_c<2> : boost::mpl::char_<'2'> {};
25 template <> struct int_to_digit_c<3> : boost::mpl::char_<'3'> {};
26 template <> struct int_to_digit_c<4> : boost::mpl::char_<'4'> {};
27 template <> struct int_to_digit_c<5> : boost::mpl::char_<'5'> {};
28 template <> struct int_to_digit_c<6> : boost::mpl::char_<'6'> {};
29 template <> struct int_to_digit_c<7> : boost::mpl::char_<'7'> {};
30 template <> struct int_to_digit_c<8> : boost::mpl::char_<'8'> {};
31 template <> struct int_to_digit_c<9> : boost::mpl::char_<'9'> {};