tmp/tmpdl45f1cs/{from.md → to.md}
RENAMED
|
@@ -19,10 +19,11 @@ namespace std {
|
|
| 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 |
template<class Key, class Compare, class Allocator, class Predicate>
|
| 25 |
typename set<Key, Compare, Allocator>::size_type
|
| 26 |
erase_if(set<Key, Compare, Allocator>& c, Predicate pred);
|
| 27 |
|
| 28 |
// [multiset], class template multiset
|
|
@@ -39,10 +40,11 @@ namespace std {
|
|
| 39 |
template<class Key, class Compare, class Allocator>
|
| 40 |
void swap(multiset<Key, Compare, Allocator>& x,
|
| 41 |
multiset<Key, Compare, Allocator>& y)
|
| 42 |
noexcept(noexcept(x.swap(y)));
|
| 43 |
|
|
|
|
| 44 |
template<class Key, class Compare, class Allocator, class Predicate>
|
| 45 |
typename multiset<Key, Compare, Allocator>::size_type
|
| 46 |
erase_if(multiset<Key, Compare, Allocator>& c, Predicate pred);
|
| 47 |
|
| 48 |
namespace pmr {
|
|
|
|
| 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
|
|
|
|
| 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 {
|