fix config for C++14

This commit is contained in:
bolero-MURAKAMI 2014-08-01 15:24:00 +09:00
parent 3d89eae1e9
commit d0d2b677bc
20 changed files with 41 additions and 14 deletions

View file

@ -44,6 +44,7 @@ namespace sprout {
: min_(0)
, max_(sprout::numeric_limits<IntType>::max())
{}
param_type(param_type const&) = default;
explicit SPROUT_CONSTEXPR param_type(IntType min_arg, IntType max_arg = sprout::numeric_limits<IntType>::max())
: min_((SPROUT_ASSERT(min_arg <= max_arg), min_arg))
, max_(max_arg)
@ -234,6 +235,7 @@ namespace sprout {
: min_(0)
, max_(sprout::numeric_limits<IntType>::max())
{}
uniform_smallint(uniform_smallint const&) = default;
explicit SPROUT_CONSTEXPR uniform_smallint(IntType min_arg, IntType max_arg = sprout::numeric_limits<IntType>::max())
: min_((SPROUT_ASSERT(min_arg <= max_arg), min_arg))
, max_(max_arg)