gcc/libstdc++-v3/include
Jonathan Wakely 24366207b7 libstdc++: Fix constant expressions in std::uniform_int_distribution
Clang and EDG say the class member access expressions __urng.min() and
__urng.max() are not constant expressions, because the object expression
__urng is not usable in a constant expresion. Use a qualified-id to call
those static member functions instead.

Co-authored-by: Stephan Bergmann <sbergman@redhat.com>

libstdc++-v3/ChangeLog:

	* include/bits/uniform_int_dist.h (uniform_int_distribution::_S_nd):
	Use qualified-id to refer to static member functions.
2020-11-04 10:36:45 +00:00
..
backward
bits libstdc++: Fix constant expressions in std::uniform_int_distribution 2020-11-04 10:36:45 +00:00
c
c_compatibility
c_global
c_std
debug libstdc++: Fix some warnings in headers 2020-10-29 11:43:55 +00:00
decimal
experimental libstdc++: Fix some warnings in headers 2020-10-29 22:47:22 +00:00
ext libstdc++: Do not use volatile for __gnu_cxx::rope reference counting 2020-10-29 14:47:17 +00:00
parallel
precompiled libstdc++: Add c++2a <syncstream> 2020-11-02 10:41:32 -08:00
pstl
std libstdc++: Ensure std::lock_guard is declared 2020-11-03 21:56:44 +00:00
tr1 libstdc++: Prevent deprecation warnings from <tr1/shared_ptr> 2020-10-29 22:47:22 +00:00
tr2
Makefile.am libstdc++: Add c++2a <syncstream> 2020-11-02 10:41:32 -08:00
Makefile.in libstdc++: Add c++2a <syncstream> 2020-11-02 10:41:32 -08:00