2 Copyright 2018 Glen Joseph Fernandes
5 Distributed under the Boost Software License, Version 1.0.
6 (http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BOOST_TYPEOF_CONSTANT_HPP
9 #define BOOST_TYPEOF_CONSTANT_HPP
11 #include <boost/config.hpp>
16 template<class T, T N>
18 typedef constant<T, N> type;
19 typedef constant<T, N + 1> next;
20 BOOST_STATIC_CONSTANT(T, value=N);