11#include <boost/mpl/at.hpp>
12#include <boost/mpl/size.hpp>
19#ifdef MULTI_ARRAY_INT_INDEX
41typedef std::size_t size_type;
42typedef std::ptrdiff_t index;
50template<
typename vector,
unsigned int p,
bool = (p < boost::mpl::size<vector>::type::value) >
53 typedef boost::mpl::
int_<0> type;
56template<
typename vector,
unsigned int p>
59 typedef boost::mpl::int_<boost::mpl::at<vector,boost::mpl::int_<p>>::type::value> type;
This class is a trick to indicate the compiler a specific specialization pattern.
convert a type into constant type