Hi,

committed to mainline.

Thanks,
Paolo.

/////////////////////
2011-05-25  Paolo Carlini  <paolo.carl...@oracle.com>

        * include/bits/random.h (random_device::min, max): Specify constexpr.
Index: include/bits/random.h
===================================================================
--- include/bits/random.h       (revision 174216)
+++ include/bits/random.h       (working copy)
@@ -1544,12 +1544,12 @@
 
 #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

Reply via email to