diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-10-04 12:57:33 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-10-04 17:42:59 +0100 |
commit | 68ed966793526db02fe96605ba9c0f8bbfd59ef0 (patch) | |
tree | 3afd48c912f90330f692e781de3eadc5b7c42a59 /gcc | |
parent | e87879a9f5c2869de177c4dde2172f277e81ef1a (diff) | |
download | gcc-68ed966793526db02fe96605ba9c0f8bbfd59ef0.zip gcc-68ed966793526db02fe96605ba9c0f8bbfd59ef0.tar.gz gcc-68ed966793526db02fe96605ba9c0f8bbfd59ef0.tar.bz2 |
libstdc++: Refactor seed sequence constraints in <random>
Every use of _If_seed_seq in <random> and <ext/random> uses it with
enable_if. We can just move the enable_if into the helper alias instead
of repeating it everywhere.
libstdc++-v3/ChangeLog:
* include/bits/random.h (__is_seed_seq): Replace with ...
(_If_seed_seq_for): ... this.
* include/ext/random: Adjust to use _If_seed_seq_for.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions