diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-05-12 13:55:17 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-05-12 17:46:28 +0100 |
commit | 6d664515720bb277d49eb1457477a9d88f4ba5ed (patch) | |
tree | 41e1d14ac9a2ab7a5bc784c6020839f0d615fffa /libcpp | |
parent | 1953c0cfb006a696723baa7d5ea14038f6d901a4 (diff) | |
download | gcc-6d664515720bb277d49eb1457477a9d88f4ba5ed.zip gcc-6d664515720bb277d49eb1457477a9d88f4ba5ed.tar.gz gcc-6d664515720bb277d49eb1457477a9d88f4ba5ed.tar.bz2 |
libstdc++: Remove <random> dependency on _GLIBCXX_USE_C99_STDINT_TR1
Since r9-2028-g8ba7f29e3dd064 we've defined most of <cstdint>
unconditionally, including uint_least32_t. This means that all of
<random> can be defined unconditionally, which means that std::shuffle
and std::ranges::shuffle can be too.
libstdc++-v3/ChangeLog:
* include/bits/algorithmfwd.h (shuffle): Do not depend on
_GLIBCXX_USE_C99_STDINT_TR1.
* include/bits/ranges_algo.h (shuffle): Likewise.
* include/bits/stl_algo.h (shuffle): Likewise.
* include/ext/random: Likewise.
* include/ext/throw_allocator.h (random_condition): Likewise.
* include/std/random: Likewise.
* src/c++11/cow-string-inst.cc: Likewise.
* src/c++11/random.cc: Likewise.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions