1 #ifndef BOOST_METAPARSE_V1_UTIL_DIGIT_TO_INT_HPP
2 #define BOOST_METAPARSE_V1_UTIL_DIGIT_TO_INT_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010.
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/metaparse/v1/util/digit_to_int_c.hpp>
11 #include <boost/mpl/vector.hpp>
21 template <class D = boost::mpl::na>
22 struct digit_to_int : digit_to_int_c<D::type::value> {};
25 struct digit_to_int<boost::mpl::na>
27 typedef digit_to_int type;
29 template <class D = boost::mpl::na>
30 struct apply : digit_to_int<D> {};