diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-07-23 12:45:37 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-07-25 11:53:06 +0100 |
commit | 6d86486292acbeeeda16b4f69455143391845706 (patch) | |
tree | 94f8ff76f5600d0e8f0eca31d06bc0b785a51281 /gcc/tree-vect-loop.cc | |
parent | 75618d2fd72ccc1c0d76646ef3bb03cb137afdd2 (diff) | |
download | gcc-6d86486292acbeeeda16b4f69455143391845706.zip gcc-6d86486292acbeeeda16b4f69455143391845706.tar.gz gcc-6d86486292acbeeeda16b4f69455143391845706.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 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions