tmp/tmpeter7nl3/{from.md → to.md}
RENAMED
|
@@ -21,10 +21,11 @@ namespace std {
|
|
| 21 |
template<class Key, class T, class Compare, class Allocator>
|
| 22 |
void swap(map<Key, T, Compare, Allocator>& x,
|
| 23 |
map<Key, T, Compare, Allocator>& y)
|
| 24 |
noexcept(noexcept(x.swap(y)));
|
| 25 |
|
|
|
|
| 26 |
template<class Key, class T, class Compare, class Allocator, class Predicate>
|
| 27 |
typename map<Key, T, Compare, Allocator>::size_type
|
| 28 |
erase_if(map<Key, T, Compare, Allocator>& c, Predicate pred);
|
| 29 |
|
| 30 |
// [multimap], class template multimap
|
|
@@ -43,10 +44,11 @@ namespace std {
|
|
| 43 |
template<class Key, class T, class Compare, class Allocator>
|
| 44 |
void swap(multimap<Key, T, Compare, Allocator>& x,
|
| 45 |
multimap<Key, T, Compare, Allocator>& y)
|
| 46 |
noexcept(noexcept(x.swap(y)));
|
| 47 |
|
|
|
|
| 48 |
template<class Key, class T, class Compare, class Allocator, class Predicate>
|
| 49 |
typename multimap<Key, T, Compare, Allocator>::size_type
|
| 50 |
erase_if(multimap<Key, T, Compare, Allocator>& c, Predicate pred);
|
| 51 |
|
| 52 |
namespace pmr {
|
|
|
|
| 21 |
template<class Key, class T, class Compare, class Allocator>
|
| 22 |
void swap(map<Key, T, Compare, Allocator>& x,
|
| 23 |
map<Key, T, Compare, Allocator>& y)
|
| 24 |
noexcept(noexcept(x.swap(y)));
|
| 25 |
|
| 26 |
+
// [map.erasure], erasure for map
|
| 27 |
template<class Key, class T, class Compare, class Allocator, class Predicate>
|
| 28 |
typename map<Key, T, Compare, Allocator>::size_type
|
| 29 |
erase_if(map<Key, T, Compare, Allocator>& c, Predicate pred);
|
| 30 |
|
| 31 |
// [multimap], class template multimap
|
|
|
|
| 44 |
template<class Key, class T, class Compare, class Allocator>
|
| 45 |
void swap(multimap<Key, T, Compare, Allocator>& x,
|
| 46 |
multimap<Key, T, Compare, Allocator>& y)
|
| 47 |
noexcept(noexcept(x.swap(y)));
|
| 48 |
|
| 49 |
+
// [multimap.erasure], erasure for multimap
|
| 50 |
template<class Key, class T, class Compare, class Allocator, class Predicate>
|
| 51 |
typename multimap<Key, T, Compare, Allocator>::size_type
|
| 52 |
erase_if(multimap<Key, T, Compare, Allocator>& c, Predicate pred);
|
| 53 |
|
| 54 |
namespace pmr {
|