mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add enable_make_indexes
This commit is contained in:
parent
bc2e3e245b
commit
410c369a6a
100 changed files with 237 additions and 156 deletions
|
@ -2,8 +2,8 @@
|
|||
#define SPROUT_CONTAINER_INDEXES_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/index_tuple.hpp>
|
||||
#include <sprout/index_tuple/detail/make_indexes_helper.hpp>
|
||||
#include <sprout/index_tuple/metafunction.hpp>
|
||||
#include <sprout/index_tuple/enable_make_indexes.hpp>
|
||||
#include <sprout/container/container_traits.hpp>
|
||||
|
||||
namespace sprout {
|
||||
|
@ -13,7 +13,7 @@ namespace sprout {
|
|||
//
|
||||
template<typename Container>
|
||||
struct container_indexes
|
||||
: public sprout::detail::make_indexes_helper<
|
||||
: public sprout::enable_make_indexes<
|
||||
sprout::make_index_tuple<sprout::container_traits<Container>::static_size>
|
||||
>
|
||||
{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue