diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-03-27 21:51:13 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2024-04-03 11:45:35 +0100 |
commit | 7f65d8267fbfd19cf21a3dc71d27e989e75044a3 (patch) | |
tree | 9330cb9c83b0b7b7f77bc2316bc5ced9b894630c /gcc/gcov-io.h | |
parent | b2460d621efe740bd95ad41afef6d806ec1bd9c7 (diff) | |
download | gcc-7f65d8267fbfd19cf21a3dc71d27e989e75044a3.zip gcc-7f65d8267fbfd19cf21a3dc71d27e989e75044a3.tar.gz gcc-7f65d8267fbfd19cf21a3dc71d27e989e75044a3.tar.bz2 |
libstdc++: Reverse arguments in constraint for std::optional's <=> [PR104606]
This is a workaround for a possible compiler bug that causes constraint
recursion in the operator<=>(const optional<T>&, const U&) overload.
libstdc++-v3/ChangeLog:
PR libstdc++/104606
* include/std/optional (operator<=>(const optional<T>&, const U&)):
Reverse order of three_way_comparable_with template arguments.
* testsuite/20_util/optional/relops/104606.cc: New test.
Diffstat (limited to 'gcc/gcov-io.h')
0 files changed, 0 insertions, 0 deletions