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

fix index_range implementation

This commit is contained in:
bolero-MURAKAMI 2013-03-31 15:14:10 +09:00
parent 331aaa3559
commit 049d4592c2
78 changed files with 178 additions and 225 deletions

View file

@ -55,7 +55,7 @@ namespace sprout {
}
public:
static SPROUT_CONSTEXPR type call(src_type const& e) {
return call_impl(sprout::index_range<0, sizeof...(Args)>::make());
return call_impl(sprout::make_index_tuple<sizeof...(Args)>::make());
}
};
template<typename Tag, typename... Args>
@ -74,7 +74,7 @@ namespace sprout {
}
public:
static SPROUT_CONSTEXPR type call(src_type const& e) {
return call_impl(sprout::index_range<0, sizeof...(Args)>::make());
return call_impl(sprout::make_index_tuple<sizeof...(Args)>::make());
}
};
} // namespace detail