* include/bits/random.h (random_device::min, max): Specify constexpr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174219
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
* include/std/mutex: Likewise.
#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