|
2942 | 2942 | iterator insert(const_iterator position, T&& x);
|
2943 | 2943 | iterator insert(const_iterator position, size_type n, const T& x);
|
2944 | 2944 | template <class InputIterator>
|
2945 |
| - iterator insert (const_iterator position, InputIterator first, InputIterator last); |
| 2945 | + iterator insert(const_iterator position, InputIterator first, InputIterator last); |
2946 | 2946 | iterator insert(const_iterator position, initializer_list<T>);
|
2947 | 2947 |
|
2948 | 2948 | void pop_front();
|
|
3295 | 3295 | const_iterator cend() const noexcept;
|
3296 | 3296 |
|
3297 | 3297 | // capacity:
|
3298 |
| - bool empty() const noexcept; |
| 3298 | + bool empty() const noexcept; |
3299 | 3299 | size_type max_size() const noexcept;
|
3300 | 3300 |
|
3301 | 3301 | // \ref{forwardlist.access}, element access:
|
|
5218 | 5218 | void pop_back();
|
5219 | 5219 | template <class... Args> iterator emplace(const_iterator position, Args&&... args);
|
5220 | 5220 | iterator insert(const_iterator position, const bool& x);
|
5221 |
| - iterator insert (const_iterator position, size_type n, const bool& x); |
| 5221 | + iterator insert(const_iterator position, size_type n, const bool& x); |
5222 | 5222 | template <class InputIterator>
|
5223 | 5223 | iterator insert(const_iterator position,
|
5224 | 5224 | InputIterator first, InputIterator last);
|
|
7029 | 7029 | void reserve(size_type n);
|
7030 | 7030 | };
|
7031 | 7031 |
|
7032 |
| - template <class Key, class T, class Hash, class Pred, class Alloc> |
7033 |
| - void swap(unordered_map<Key, T, Hash, Pred, Alloc>& x, |
7034 |
| - unordered_map<Key, T, Hash, Pred, Alloc>& y) |
7035 |
| - noexcept(noexcept(x.swap(y))); |
7036 |
| - |
7037 | 7032 | template <class Key, class T, class Hash, class Pred, class Alloc>
|
7038 | 7033 | bool operator==(const unordered_map<Key, T, Hash, Pred, Alloc>& a,
|
7039 | 7034 | const unordered_map<Key, T, Hash, Pred, Alloc>& b);
|
7040 | 7035 | template <class Key, class T, class Hash, class Pred, class Alloc>
|
7041 | 7036 | bool operator!=(const unordered_map<Key, T, Hash, Pred, Alloc>& a,
|
7042 | 7037 | const unordered_map<Key, T, Hash, Pred, Alloc>& b);
|
| 7038 | + |
| 7039 | + template <class Key, class T, class Hash, class Pred, class Alloc> |
| 7040 | + void swap(unordered_map<Key, T, Hash, Pred, Alloc>& x, |
| 7041 | + unordered_map<Key, T, Hash, Pred, Alloc>& y) |
| 7042 | + noexcept(noexcept(x.swap(y))); |
7043 | 7043 | }
|
7044 | 7044 | \end{codeblock}
|
7045 | 7045 |
|
|
7435 | 7435 | void reserve(size_type n);
|
7436 | 7436 | };
|
7437 | 7437 |
|
7438 |
| - template <class Key, class T, class Hash, class Pred, class Alloc> |
7439 |
| - void swap(unordered_multimap<Key, T, Hash, Pred, Alloc>& x, |
7440 |
| - unordered_multimap<Key, T, Hash, Pred, Alloc>& y) |
7441 |
| - noexcept(noexcept(x.swap(y))); |
7442 |
| - |
7443 | 7438 | template <class Key, class T, class Hash, class Pred, class Alloc>
|
7444 | 7439 | bool operator==(const unordered_multimap<Key, T, Hash, Pred, Alloc>& a,
|
7445 | 7440 | const unordered_multimap<Key, T, Hash, Pred, Alloc>& b);
|
7446 | 7441 | template <class Key, class T, class Hash, class Pred, class Alloc>
|
7447 | 7442 | bool operator!=(const unordered_multimap<Key, T, Hash, Pred, Alloc>& a,
|
7448 | 7443 | const unordered_multimap<Key, T, Hash, Pred, Alloc>& b);
|
| 7444 | + |
| 7445 | + template <class Key, class T, class Hash, class Pred, class Alloc> |
| 7446 | + void swap(unordered_multimap<Key, T, Hash, Pred, Alloc>& x, |
| 7447 | + unordered_multimap<Key, T, Hash, Pred, Alloc>& y) |
| 7448 | + noexcept(noexcept(x.swap(y))); |
| 7449 | + |
7449 | 7450 | }
|
7450 | 7451 | \end{codeblock}
|
7451 | 7452 |
|
|
7716 | 7717 | void reserve(size_type n);
|
7717 | 7718 | };
|
7718 | 7719 |
|
7719 |
| - template <class Key, class Hash, class Pred, class Alloc> |
7720 |
| - void swap(unordered_set<Key, Hash, Pred, Alloc>& x, |
7721 |
| - unordered_set<Key, Hash, Pred, Alloc>& y) |
7722 |
| - noexcept(noexcept(x.swap(y))); |
7723 |
| - |
7724 | 7720 | template <class Key, class Hash, class Pred, class Alloc>
|
7725 | 7721 | bool operator==(const unordered_set<Key, Hash, Pred, Alloc>& a,
|
7726 | 7722 | const unordered_set<Key, Hash, Pred, Alloc>& b);
|
7727 | 7723 | template <class Key, class Hash, class Pred, class Alloc>
|
7728 | 7724 | bool operator!=(const unordered_set<Key, Hash, Pred, Alloc>& a,
|
7729 | 7725 | const unordered_set<Key, Hash, Pred, Alloc>& b);
|
| 7726 | + |
| 7727 | + template <class Key, class Hash, class Pred, class Alloc> |
| 7728 | + void swap(unordered_set<Key, Hash, Pred, Alloc>& x, |
| 7729 | + unordered_set<Key, Hash, Pred, Alloc>& y) |
| 7730 | + noexcept(noexcept(x.swap(y))); |
7730 | 7731 | }
|
7731 | 7732 | \end{codeblock}
|
7732 | 7733 |
|
|
7967 | 7968 | void reserve(size_type n);
|
7968 | 7969 | };
|
7969 | 7970 |
|
7970 |
| - template <class Key, class Hash, class Pred, class Alloc> |
7971 |
| - void swap(unordered_multiset<Key, Hash, Pred, Alloc>& x, |
7972 |
| - unordered_multiset<Key, Hash, Pred, Alloc>& y) |
7973 |
| - noexcept(noexcept(x.swap(y))); |
7974 |
| - |
7975 | 7971 | template <class Key, class Hash, class Pred, class Alloc>
|
7976 | 7972 | bool operator==(const unordered_multiset<Key, Hash, Pred, Alloc>& a,
|
7977 | 7973 | const unordered_multiset<Key, Hash, Pred, Alloc>& b);
|
7978 | 7974 | template <class Key, class Hash, class Pred, class Alloc>
|
7979 | 7975 | bool operator!=(const unordered_multiset<Key, Hash, Pred, Alloc>& a,
|
7980 | 7976 | const unordered_multiset<Key, Hash, Pred, Alloc>& b);
|
| 7977 | + |
| 7978 | + template <class Key, class Hash, class Pred, class Alloc> |
| 7979 | + void swap(unordered_multiset<Key, Hash, Pred, Alloc>& x, |
| 7980 | + unordered_multiset<Key, Hash, Pred, Alloc>& y) |
| 7981 | + noexcept(noexcept(x.swap(y))); |
7981 | 7982 | }
|
7982 | 7983 | \end{codeblock}
|
7983 | 7984 |
|
|
8431 | 8432 |
|
8432 | 8433 | \indexlibrary{\idxcode{priority_queue}!\idxcode{priority_queue}}%
|
8433 | 8434 | \begin{itemdecl}
|
8434 |
| -priority_queue(const Compare& x, |
8435 |
| - const Container& y); |
8436 |
| -explicit priority_queue(const Compare& x = Compare(), |
8437 |
| - Container&& y = Container()); |
| 8435 | +priority_queue(const Compare& x, const Container& y); |
| 8436 | +explicit priority_queue(const Compare& x = Compare(), Container&& y = Container()); |
8438 | 8437 | \end{itemdecl}
|
8439 | 8438 |
|
8440 | 8439 | \begin{itemdescr}
|
|
0 commit comments