add SPROUT_FORWARD - workaround for ICC

This commit is contained in:
bolero-MURAKAMI 2014-02-22 16:32:51 +09:00
parent 7831105add
commit 274122efb2
202 changed files with 750 additions and 741 deletions

View file

@ -55,14 +55,14 @@ namespace sprout {
? sprout::fixed::detail::make_shuffle_result_indexes_1<UniformRandomNumberGenerator>(
n,
SPROUT_WORKAROUND_DETAIL_UNIFORM_INT_DISTRIBUTION<std::ptrdiff_t>(0, n - 1)(
sprout::forward<UniformRandomNumberGenerator>(g)
SPROUT_FORWARD(UniformRandomNumberGenerator, g)
),
sprout::fixed::iota(sprout::pit<sprout::array<std::ptrdiff_t, N> >(), 0),
0
)
: result_type(
sprout::array<std::ptrdiff_t, N>{{}},
sprout::forward<UniformRandomNumberGenerator>(g)
SPROUT_FORWARD(UniformRandomNumberGenerator, g)
)
;
}
@ -104,7 +104,7 @@ namespace sprout {
indexes,
sprout::fixed::detail::make_shuffle_result_indexes<sprout::container_traits<Container>::static_size>(
size,
sprout::forward<UniformRandomNumberGenerator>(g)
SPROUT_FORWARD(UniformRandomNumberGenerator, g)
),
offset,
size
@ -120,7 +120,7 @@ namespace sprout {
return sprout::fixed::detail::shuffle_result_impl(
cont,
sprout::container_indexes<Container>::make(),
sprout::forward<UniformRandomNumberGenerator>(g),
SPROUT_FORWARD(UniformRandomNumberGenerator, g),
sprout::internal_begin_offset(cont),
sprout::size(cont)
);