Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:49

0001 #ifndef BOOST_METAPARSE_V1_UTIL_DIGIT_TO_INT_HPP
0002 #define BOOST_METAPARSE_V1_UTIL_DIGIT_TO_INT_HPP
0003 
0004 // Copyright Abel Sinkovics (abel@sinkovics.hu)  2009 - 2010.
0005 // Distributed under the Boost Software License, Version 1.0.
0006 //    (See accompanying file LICENSE_1_0.txt or copy at
0007 //          http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 #include <boost/metaparse/v1/util/digit_to_int_c.hpp>
0010 
0011 #include <boost/mpl/vector.hpp>
0012 
0013 namespace boost
0014 {
0015   namespace metaparse
0016   {
0017     namespace v1
0018     {
0019       namespace util
0020       {
0021         template <class D = boost::mpl::na>
0022         struct digit_to_int : digit_to_int_c<D::type::value> {};
0023 
0024         template <>
0025         struct digit_to_int<boost::mpl::na>
0026         {
0027           typedef digit_to_int type;
0028           
0029           template <class D = boost::mpl::na>
0030           struct apply : digit_to_int<D> {};
0031         };
0032       }
0033     }
0034   }
0035 }
0036 
0037 #endif
0038