The last C++20 changes from P1614R2, "The Mothership has Landed" * include/bits/stl_map.h (map): Define operator<=> and remove operator< for C++20. * include/bits/stl_multimap.h (multimap): Likewise. * include/bits/stl_multiset.h (multiset): Likewise. * include/bits/stl_set.h (set): Likewise. * include/bits/stl_tree.h (_Rb_tree): Likewise. (_Rb_tree_iterator, _Rb_tree_const_iterator): Remove redundant operator!= for C++20. * include/debug/map.h (__gnu_debug::map): Define operator<=> for C++20. * include/debug/multimap.h (__gnu_debug::multimap): Likewise. * include/debug/multiset.h (__gnu_debug::multiset): Likewise. * include/debug/set.h (__gnu_debug::set): Likewise. * testsuite/23_containers/map/operators/cmp_c++20.cc: New test. * testsuite/23_containers/multimap/operators/cmp_c++20.cc: New test. * testsuite/23_containers/multiset/operators/cmp_c++20.cc: New test. * testsuite/23_containers/set/operators/cmp_c++20.cc: New test.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| array | Loading commit data... | |
| assertions.h | Loading commit data... | |
| bitset | Loading commit data... | |
| debug.h | Loading commit data... | |
| deque | Loading commit data... | |
| formatter.h | Loading commit data... | |
| forward_list | Loading commit data... | |
| functions.h | Loading commit data... | |
| helper_functions.h | Loading commit data... | |
| list | Loading commit data... | |
| macros.h | Loading commit data... | |
| map | Loading commit data... | |
| map.h | Loading commit data... | |
| multimap.h | Loading commit data... | |
| multiset.h | Loading commit data... | |
| safe_base.h | Loading commit data... | |
| safe_container.h | Loading commit data... | |
| safe_iterator.h | Loading commit data... | |
| safe_iterator.tcc | Loading commit data... | |
| safe_local_iterator.h | Loading commit data... | |
| safe_local_iterator.tcc | Loading commit data... | |
| safe_sequence.h | Loading commit data... | |
| safe_sequence.tcc | Loading commit data... | |
| safe_unordered_base.h | Loading commit data... | |
| safe_unordered_container.h | Loading commit data... | |
| safe_unordered_container.tcc | Loading commit data... | |
| set | Loading commit data... | |
| set.h | Loading commit data... | |
| stl_iterator.h | Loading commit data... | |
| string | Loading commit data... | |
| unordered_map | Loading commit data... | |
| unordered_set | Loading commit data... | |
| vector | Loading commit data... |