concept.cc
6.39 KB
-
libstdc++: Implement LWG 3150 for std::uniform_random_bit_generator · 5b1d5885
* include/bits/random.h (uniform_random_bit_generator): Require min() and max() to be constant expressions and min() to be less than max(). * testsuite/26_numerics/random/concept.cc: Check additional cases. * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error lineno.
Jonathan Wakely committed