mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
fix index_range implementation
This commit is contained in:
parent
331aaa3559
commit
049d4592c2
78 changed files with 178 additions and 225 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <sprout/pit/pit.hpp>
|
||||
#include <sprout/container/traits.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/container/indexes.hpp>
|
||||
#include <sprout/iterator/operation.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/algorithm/fixed/result_of.hpp>
|
||||
|
@ -95,7 +96,7 @@ namespace sprout {
|
|||
shuffle(Container const& cont, UniformRandomNumberGenerator&& g) {
|
||||
return sprout::fixed::detail::shuffle_impl(
|
||||
cont,
|
||||
sprout::index_range<0, sprout::container_traits<Container>::static_size>::make(),
|
||||
sprout::container_indexes<Container>::make(),
|
||||
sprout::forward<UniformRandomNumberGenerator>(g),
|
||||
sprout::internal_begin_offset(cont),
|
||||
sprout::size(cont)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue