random.h (random_device::min, max): Specify constexpr.
2011-05-25 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h (random_device::min, max): Specify constexpr. From-SVN: r174219
This commit is contained in:
parent
0957c02992
commit
deaf34a90b
@ -1,3 +1,7 @@
|
||||
2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* include/bits/random.h (random_device::min, max): Specify constexpr.
|
||||
|
||||
2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* include/std/thread: Use noexcept throughout per the FDIS.
|
||||
|
@ -1544,12 +1544,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
|
||||
#endif
|
||||
|
||||
result_type
|
||||
min() const
|
||||
static constexpr result_type
|
||||
min()
|
||||
{ return std::numeric_limits<result_type>::min(); }
|
||||
|
||||
result_type
|
||||
max() const
|
||||
static constexpr result_type
|
||||
max()
|
||||
{ return std::numeric_limits<result_type>::max(); }
|
||||
|
||||
double
|
||||
|
Loading…
Reference in New Issue
Block a user