aboutsummaryrefslogtreecommitdiff
path: root/libada
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-04-15 19:47:48 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-04-15 19:47:48 +0100
commit596676d66cab21e5ed85669e737af5b62f067d57 (patch)
tree3ee36a74c869d33d9a1b0745e061df54eec7edf6 /libada
parent4714fd14afadbfdab0cc76a8b3fdf7a8161e0ebe (diff)
downloadgcc-596676d66cab21e5ed85669e737af5b62f067d57.zip
gcc-596676d66cab21e5ed85669e737af5b62f067d57.tar.gz
gcc-596676d66cab21e5ed85669e737af5b62f067d57.tar.bz2
libstdc++: Add comparison operators to types from Utilities clause
Some more C++20 changes from P1614R2, "The Mothership has Landed". This removes all redundant equality and inequality operators in the Utilities clause, as they can be synthesized from the remaining equality operators. It also removes the single redundant operator in the Localization clause, because it didn't seem worth doing in a separate commit. * include/bits/allocator.h (operator!=): Do not define for C++20. * include/bits/locale_classes.h (operator!=): Likewise. * include/bits/std_function.h (operator==(nullptr_t, const function&)) (operator!=(const function&, nullptr_t)) (operator!=(nullptr_t, const function&)): Likewise. * include/ext/bitmap_allocator.h (operator!=): Likewise. * include/ext/debug_allocator.h (operator!=): Likewise. * include/ext/extptr_allocator.h (operator!=): Likewise. * include/ext/malloc_allocator.h (operator!=): Likewise. * include/ext/mt_allocator.h (operator!=): Likewise. * include/ext/new_allocator.h (operator!=): Likewise. * include/ext/pool_allocator.h (operator!=): Likewise. * include/ext/throw_allocator.h (operator!=): Likewise. * include/std/bitset (bitset::operator!=): Likewise. * include/std/memory_resource (operator!=): Likewise. * include/std/scoped_allocator (operator!=): Likewise.
Diffstat (limited to 'libada')
0 files changed, 0 insertions, 0 deletions