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

[破壊的変更] uniform_int_distribution::max() 9 -> numeric_limits::max()

add reset function
This commit is contained in:
bolero-MURAKAMI 2013-11-09 18:13:26 +09:00
parent b60a7aca9c
commit 81603007f6
8 changed files with 19 additions and 8 deletions

View file

@ -121,6 +121,7 @@ namespace sprout {
SPROUT_CONSTEXPR result_type max() const SPROUT_NOEXCEPT {
return sprout::numeric_limits<result_type>::max();
}
SPROUT_CXX14_CONSTEXPR void reset() SPROUT_NOEXCEPT {}
SPROUT_CONSTEXPR param_type param() const SPROUT_NOEXCEPT {
return param_type(p_);
}