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:
parent
c6bd230ee4
commit
84956034ad
10 changed files with 259 additions and 205 deletions
20
sprout/index_tuple/detail/make_indexes_helper.hpp
Normal file
20
sprout/index_tuple/detail/make_indexes_helper.hpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef SPROUT_INDEX_TUPLE_DETAIL_MAKE_INDEXES_HELPER_HPP
|
||||
#define SPROUT_INDEX_TUPLE_DETAIL_MAKE_INDEXES_HELPER_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace detail {
|
||||
template<typename IndexTupleType>
|
||||
struct make_indexes_helper {
|
||||
public:
|
||||
typedef typename IndexTupleType::type type;
|
||||
public:
|
||||
static SPROUT_CONSTEXPR type make() {
|
||||
return type();
|
||||
}
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_INDEX_TUPLE_DETAIL_MAKE_INDEXES_HELPER_HPP
|
Loading…
Add table
Add a link
Reference in a new issue