tmp/tmpmtj06dz9/{from.md → to.md}
RENAMED
|
@@ -8,45 +8,47 @@ namespace std {
|
|
| 8 |
// [set], class template set
|
| 9 |
template<class Key, class Compare = less<Key>, class Allocator = allocator<Key>>
|
| 10 |
class set;
|
| 11 |
|
| 12 |
template<class Key, class Compare, class Allocator>
|
| 13 |
-
bool operator==(const set<Key, Compare, Allocator>& x,
|
| 14 |
const set<Key, Compare, Allocator>& y);
|
| 15 |
template<class Key, class Compare, class Allocator>
|
| 16 |
-
synth-three-way-result<Key>
|
| 17 |
-
|
|
|
|
| 18 |
|
| 19 |
template<class Key, class Compare, class Allocator>
|
| 20 |
-
void swap(set<Key, Compare, Allocator>& x,
|
| 21 |
set<Key, Compare, Allocator>& y)
|
| 22 |
noexcept(noexcept(x.swap(y)));
|
| 23 |
|
| 24 |
// [set.erasure], erasure for set
|
| 25 |
template<class Key, class Compare, class Allocator, class Predicate>
|
| 26 |
-
typename set<Key, Compare, Allocator>::size_type
|
| 27 |
erase_if(set<Key, Compare, Allocator>& c, Predicate pred);
|
| 28 |
|
| 29 |
// [multiset], class template multiset
|
| 30 |
template<class Key, class Compare = less<Key>, class Allocator = allocator<Key>>
|
| 31 |
class multiset;
|
| 32 |
|
| 33 |
template<class Key, class Compare, class Allocator>
|
| 34 |
-
bool operator==(const multiset<Key, Compare, Allocator>& x,
|
| 35 |
const multiset<Key, Compare, Allocator>& y);
|
| 36 |
template<class Key, class Compare, class Allocator>
|
| 37 |
-
synth-three-way-result<Key>
|
| 38 |
-
|
|
|
|
| 39 |
|
| 40 |
template<class Key, class Compare, class Allocator>
|
| 41 |
-
void swap(multiset<Key, Compare, Allocator>& x,
|
| 42 |
multiset<Key, Compare, Allocator>& y)
|
| 43 |
noexcept(noexcept(x.swap(y)));
|
| 44 |
|
| 45 |
// [multiset.erasure], erasure for multiset
|
| 46 |
template<class Key, class Compare, class Allocator, class Predicate>
|
| 47 |
-
typename multiset<Key, Compare, Allocator>::size_type
|
| 48 |
erase_if(multiset<Key, Compare, Allocator>& c, Predicate pred);
|
| 49 |
|
| 50 |
namespace pmr {
|
| 51 |
template<class Key, class Compare = less<Key>>
|
| 52 |
using set = std::set<Key, Compare, polymorphic_allocator<Key>>;
|
|
|
|
| 8 |
// [set], class template set
|
| 9 |
template<class Key, class Compare = less<Key>, class Allocator = allocator<Key>>
|
| 10 |
class set;
|
| 11 |
|
| 12 |
template<class Key, class Compare, class Allocator>
|
| 13 |
+
constexpr bool operator==(const set<Key, Compare, Allocator>& x,
|
| 14 |
const set<Key, Compare, Allocator>& y);
|
| 15 |
template<class Key, class Compare, class Allocator>
|
| 16 |
+
constexpr synth-three-way-result<Key>
|
| 17 |
+
operator<=>(const set<Key, Compare, Allocator>& x,
|
| 18 |
+
const set<Key, Compare, Allocator>& y);
|
| 19 |
|
| 20 |
template<class Key, class Compare, class Allocator>
|
| 21 |
+
constexpr void swap(set<Key, Compare, Allocator>& x,
|
| 22 |
set<Key, Compare, Allocator>& y)
|
| 23 |
noexcept(noexcept(x.swap(y)));
|
| 24 |
|
| 25 |
// [set.erasure], erasure for set
|
| 26 |
template<class Key, class Compare, class Allocator, class Predicate>
|
| 27 |
+
constexpr typename set<Key, Compare, Allocator>::size_type
|
| 28 |
erase_if(set<Key, Compare, Allocator>& c, Predicate pred);
|
| 29 |
|
| 30 |
// [multiset], class template multiset
|
| 31 |
template<class Key, class Compare = less<Key>, class Allocator = allocator<Key>>
|
| 32 |
class multiset;
|
| 33 |
|
| 34 |
template<class Key, class Compare, class Allocator>
|
| 35 |
+
constexpr bool operator==(const multiset<Key, Compare, Allocator>& x,
|
| 36 |
const multiset<Key, Compare, Allocator>& y);
|
| 37 |
template<class Key, class Compare, class Allocator>
|
| 38 |
+
constexpr synth-three-way-result<Key>
|
| 39 |
+
operator<=>(const multiset<Key, Compare, Allocator>& x,
|
| 40 |
+
const multiset<Key, Compare, Allocator>& y);
|
| 41 |
|
| 42 |
template<class Key, class Compare, class Allocator>
|
| 43 |
+
constexpr void swap(multiset<Key, Compare, Allocator>& x,
|
| 44 |
multiset<Key, Compare, Allocator>& y)
|
| 45 |
noexcept(noexcept(x.swap(y)));
|
| 46 |
|
| 47 |
// [multiset.erasure], erasure for multiset
|
| 48 |
template<class Key, class Compare, class Allocator, class Predicate>
|
| 49 |
+
constexpr typename multiset<Key, Compare, Allocator>::size_type
|
| 50 |
erase_if(multiset<Key, Compare, Allocator>& c, Predicate pred);
|
| 51 |
|
| 52 |
namespace pmr {
|
| 53 |
template<class Key, class Compare = less<Key>>
|
| 54 |
using set = std::set<Key, Compare, polymorphic_allocator<Key>>;
|