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

add index_tuple/*

This commit is contained in:
bolero-MURAKAMI 2012-04-04 22:59:02 +09:00
parent c6bd230ee4
commit 84956034ad
10 changed files with 259 additions and 205 deletions

View file

@ -0,0 +1,23 @@
#ifndef SPROUT_INDEX_TUPLE_INDEX_TUPLE_HPP
#define SPROUT_INDEX_TUPLE_INDEX_TUPLE_HPP
#include <cstddef>
#include <sprout/config.hpp>
namespace sprout {
//
// index_t
//
typedef std::ptrdiff_t index_t;
//
// index_tuple
//
template<sprout::index_t... Indexes>
struct index_tuple {
public:
typedef index_tuple type;
};
} // namespace sprout
#endif // #ifndef SPROUT_INDEX_TUPLE_INDEX_TUPLE_HPP