2 [section int_to_digit_c]
12 This is a template class similar to a [link metafunction template metafunction]
13 but taking an `int` value as argument.
17 [[`C`] [`int` value in the range `[0-9]`]]
22 Converts an integer value in the range `[0-9]` to a character representing that
27 #include <boost/metaparse/util/int_to_digit_c.hpp>
29 [h1 Expression semantics]
31 The following pairs of expressions are equivalent
33 int_to_digit_c<0>::type
34 boost::mpl::char_<'0'>
37 boost::mpl::char_<'9'>
41 #include <boost/metaparse/util/int_to_digit_c.hpp>
43 using namespace boost::metaparse;
46 util::int_to_digit_c<0>::type::value == '0',
47 "it should convert an integer value to the corresponding character"
51 util::int_to_digit_c<3>::type::value == '3',
52 "it should convert an integer to the corresponding character"
56 util::int_to_digit_c<9>::type::value == '9',
57 "it should convert an integer value to the corresponding character"