diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-06-23 18:17:30 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-06-27 11:08:16 +0100 |
commit | 48099f7dafe8d10e92ddfc88c0fd5bfbb435d3d6 (patch) | |
tree | 97cd15f174865a1c8e5d2bc863b78797181f4307 /gcc | |
parent | 153689603fd6aeb95b20a86f3a04fc5b93b01b09 (diff) | |
download | gcc-48099f7dafe8d10e92ddfc88c0fd5bfbb435d3d6.zip gcc-48099f7dafe8d10e92ddfc88c0fd5bfbb435d3d6.tar.gz gcc-48099f7dafe8d10e92ddfc88c0fd5bfbb435d3d6.tar.bz2 |
libstdc++: Invert relationship between std::is_clock and std::is_clock_v
This redefines std::is_clock in terms of std::is_clock_v, instead of the
other way around. This avoids instantiatng the class template for code
that only uses the variable template.
libstdc++-v3/ChangeLog:
* include/bits/chrono.h (is_clock_v): Define to false.
(is_clock_v<T>): Define partial specialization for true cases.
(is_clock): Define in terms of is_clock_v.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions