diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-04-08 16:51:59 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-04-08 16:51:59 +0100 |
commit | ef389dadd4f082e13b076f14a123bf506e158da4 (patch) | |
tree | aff0c327563eda85858e55d215e4e761b5349e9a /gcc/cse.c | |
parent | e4b84abcc46fb4270172584ac5a4b46d70e93259 (diff) | |
download | gcc-ef389dadd4f082e13b076f14a123bf506e158da4.zip gcc-ef389dadd4f082e13b076f14a123bf506e158da4.tar.gz gcc-ef389dadd4f082e13b076f14a123bf506e158da4.tar.bz2 |
libstdc++: Add comparison operators to types from Numerics clause
Some more C++20 changes from P1614R2, "The Mothership has Landed".
* include/bits/slice_array.h (operator==(const slice&, const slice&)):
Define for C++20.
* include/std/complex (operator==(const T&, const complex<T>&))
(operator!=(const complex<T>&, const complex<T>&))
(operator!=(const complex<T>&, const T&))
(operator!=(const T&, const complex<T>&)): Do not declare for C++20.
* testsuite/26_numerics/slice/compare.cc: New test.
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions