mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix index_tuple
This commit is contained in:
parent
48f1b2d615
commit
ee8602f6a3
42 changed files with 927 additions and 101 deletions
|
@ -17,7 +17,12 @@ namespace sprout {
|
|||
struct index_tuple {
|
||||
public:
|
||||
typedef index_tuple type;
|
||||
typedef sprout::index_t value_type;
|
||||
public:
|
||||
SPROUT_STATIC_CONSTEXPR std::size_t size = sizeof...(Indexes);
|
||||
};
|
||||
template<sprout::index_t... Indexes>
|
||||
SPROUT_CONSTEXPR_OR_CONST std::size_t sprout::index_tuple<Indexes...>::size;
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_INDEX_TUPLE_INDEX_TUPLE_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue