aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-04-08 16:51:59 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-04-08 16:51:59 +0100
commitef389dadd4f082e13b076f14a123bf506e158da4 (patch)
treeaff0c327563eda85858e55d215e4e761b5349e9a /gcc
parente4b84abcc46fb4270172584ac5a4b46d70e93259 (diff)
downloadgcc-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')
0 files changed, 0 insertions, 0 deletions