mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +00:00
bb36ef6e8b
rename: integer_seq -> integer_sequence, make_integer_sequence -> make_integer_sequence add unsigned-index sequence: index_sequence(alias), make_index_sequence, index_sequence_for add: integer_pack, index_pack
19 lines
559 B
C++
19 lines
559 B
C++
#ifndef SPROUT_INDEX_TUPLE_INDEX_SEQUENCE_HPP
|
|
#define SPROUT_INDEX_TUPLE_INDEX_SEQUENCE_HPP
|
|
|
|
#include <sprout/config.hpp>
|
|
#if SPROUT_USE_TEMPLATE_ALIASES
|
|
# include <sprout/index_tuple/index_tuple.hpp>
|
|
#endif // #if SPROUT_USE_TEMPLATE_ALIASES
|
|
|
|
namespace sprout {
|
|
#if SPROUT_USE_TEMPLATE_ALIASES
|
|
//
|
|
// index_sequence
|
|
//
|
|
template<sprout::uindex_t... Indexes>
|
|
using index_sequence = sprout::uindex_tuple<Indexes...>;
|
|
#endif // #if SPROUT_USE_TEMPLATE_ALIASES
|
|
} // namespace sprout
|
|
|
|
#endif // #ifndef SPROUT_INDEX_TUPLE_INDEX_SEQUENCE_HPP
|