1
0
Fork 0
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:
bolero-MURAKAMI 2013-04-06 13:06:51 +09:00
parent bc2e3e245b
commit 410c369a6a
100 changed files with 237 additions and 156 deletions

View file

@ -5,7 +5,7 @@
#include <sprout/config.hpp>
#include <sprout/index_tuple/index_tuple.hpp>
#include <sprout/index_tuple/make_integer_seq.hpp>
#include <sprout/index_tuple/detail/make_indexes_helper.hpp>
#include <sprout/index_tuple/enable_make_indexes.hpp>
namespace sprout {
//
@ -13,7 +13,7 @@ namespace sprout {
//
template<sprout::index_t N>
struct make_index_tuple
: public sprout::detail::make_indexes_helper<
: public sprout::enable_make_indexes<
typename sprout::make_integer_seq<sprout::index_t, N>::type
::template transfer<sprout::index_tuple<> >::type
>
@ -23,7 +23,7 @@ namespace sprout {
//
template<sprout::uindex_t N>
struct make_uindex_tuple
: public sprout::detail::make_indexes_helper<
: public sprout::enable_make_indexes<
typename sprout::make_integer_seq<sprout::uindex_t, N>::type
::template transfer<sprout::uindex_tuple<> >::type
>