aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-23 12:45:37 +0100
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:56 +0200
commita2a6695d8aa63e03bd52351c4435a88a8b78802a (patch)
tree295efa22dd1633804d78fef434dde372b32190ce /libcpp
parent0e3c6a936568c859e4653854f0cd4206f390d56e (diff)
downloadgcc-a2a6695d8aa63e03bd52351c4435a88a8b78802a.zip
gcc-a2a6695d8aa63e03bd52351c4435a88a8b78802a.tar.gz
gcc-a2a6695d8aa63e03bd52351c4435a88a8b78802a.tar.bz2
libstdc++: Use concepts and conditional explicit in std::optional
For C++20 mode we can improve compile times by using conditional explicit to reduce the number of constructor overloads. We can also use requires-clauses instead of SFINAE to implement constraints on the constructors and assignment operators. libstdc++-v3/ChangeLog: * include/std/optional (optional): Use C++20 features to simplify overload sets for constructors and assignment operators.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions