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

workaroud for clang3.2 (inversive_congruential)

This commit is contained in:
bolero-MURAKAMI 2012-11-14 11:22:05 +09:00
parent d39f4abe0f
commit b9121b8850
4 changed files with 94 additions and 12 deletions

View file

@ -58,7 +58,8 @@ namespace sprout {
SPROUT_CONSTEXPR inversive_congruential_engine(IntType const& x, private_constructor_tag)
: x_(x)
{}
SPROUT_CONSTEXPR sprout::random::random_result<inversive_congruential_engine> generate(result_type result) const {
SPROUT_CONSTEXPR sprout::random::random_result<inversive_congruential_engine>
generate(result_type result) const {
return sprout::random::random_result<inversive_congruential_engine>(
result,
inversive_congruential_engine(result, private_constructor_tag())