1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add index_tuple/integer_seq

This commit is contained in:
bolero-MURAKAMI 2013-03-31 13:39:26 +09:00
parent 6a78f64feb
commit 331aaa3559
14 changed files with 358 additions and 180 deletions

View file

@ -0,0 +1,20 @@
#ifndef SPROUT_INDEX_TUPLE_MAKE_INTEGER_SEQ_HPP
#define SPROUT_INDEX_TUPLE_MAKE_INTEGER_SEQ_HPP
#include <sprout/config.hpp>
#include <sprout/index_tuple/integer_range.hpp>
#include <sprout/index_tuple/detail/make_indexes_helper.hpp>
namespace sprout {
//
// make_integer_seq
//
template<typename T, T N>
struct make_integer_seq
: public sprout::detail::make_indexes_helper<
sprout::integer_range<T, 0, N>
>
{};
} // namespace sprout
#endif // #ifndef SPROUT_INDEX_TUPLE_MAKE_INTEGER_SEQ_HPP