1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Sprout/sprout/index_tuple/make_integer_sequence.hpp

21 lines
538 B
C++
Raw Normal View History

#ifndef SPROUT_INDEX_TUPLE_MAKE_INTEGER_SEQUENCE_HPP
#define SPROUT_INDEX_TUPLE_MAKE_INTEGER_SEQUENCE_HPP
2013-03-31 04:39:26 +00:00
#include <sprout/config.hpp>
#include <sprout/index_tuple/integer_range.hpp>
2013-04-06 04:06:51 +00:00
#include <sprout/index_tuple/enable_make_indexes.hpp>
2013-03-31 04:39:26 +00:00
namespace sprout {
//
// make_integer_sequence
2013-03-31 04:39:26 +00:00
//
template<typename T, T N>
struct make_integer_sequence
2013-04-06 04:06:51 +00:00
: public sprout::enable_make_indexes<
2013-03-31 04:39:26 +00:00
sprout::integer_range<T, 0, N>
>
{};
} // namespace sprout
#endif // #ifndef SPROUT_INDEX_TUPLE_MAKE_INTEGER_SEQUENCE_HPP