sprout::index_t 追加

This commit is contained in:
bolero-MURAKAMI 2012-02-28 10:46:39 +09:00
parent c9471df964
commit d5dcbaf4b2
44 changed files with 80 additions and 101 deletions

View file

@ -54,7 +54,7 @@ namespace sprout {
: sprout::array<std::ptrdiff_t, N>{{}}
;
}
template<typename Container, typename Shuffled, std::ptrdiff_t... Indexes>
template<typename Container, typename Shuffled, sprout::index_t... Indexes>
SPROUT_CONSTEXPR inline typename sprout::fixed::result_of::algorithm<Container>::type shuffle_impl_1(
Container const& cont,
sprout::index_tuple<Indexes...>,
@ -72,7 +72,7 @@ namespace sprout {
)...
);
}
template<typename Container, typename UniformRandomNumberGenerator, std::ptrdiff_t... Indexes>
template<typename Container, typename UniformRandomNumberGenerator, sprout::index_t... Indexes>
SPROUT_CONSTEXPR inline typename sprout::fixed::result_of::algorithm<Container>::type shuffle_impl(
Container const& cont,
sprout::index_tuple<Indexes...> indexes,