|
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();
|
|
3297 | 3297 | const_iterator cend() const noexcept;
|
3298 | 3298 |
|
3299 | 3299 | // capacity:
|
3300 |
| - bool empty() const noexcept; |
| 3300 | + bool empty() const noexcept; |
3301 | 3301 | size_type max_size() const noexcept;
|
3302 | 3302 |
|
3303 | 3303 | // \ref{forwardlist.access}, element access:
|
|
5241 | 5241 | void pop_back();
|
5242 | 5242 | template <class... Args> iterator emplace(const_iterator position, Args&&... args);
|
5243 | 5243 | iterator insert(const_iterator position, const bool& x);
|
5244 |
| - iterator insert (const_iterator position, size_type n, const bool& x); |
| 5244 | + iterator insert(const_iterator position, size_type n, const bool& x); |
5245 | 5245 | template <class InputIterator>
|
5246 | 5246 | iterator insert(const_iterator position,
|
5247 | 5247 | InputIterator first, InputIterator last);
|
|
7081 | 7081 | void reserve(size_type n);
|
7082 | 7082 | };
|
7083 | 7083 |
|
7084 |
| - template <class Key, class T, class Hash, class Pred, class Alloc> |
7085 |
| - void swap(unordered_map<Key, T, Hash, Pred, Alloc>& x, |
7086 |
| - unordered_map<Key, T, Hash, Pred, Alloc>& y) |
7087 |
| - noexcept(noexcept(x.swap(y))); |
7088 |
| - |
7089 | 7084 | template <class Key, class T, class Hash, class Pred, class Alloc>
|
7090 | 7085 | bool operator==(const unordered_map<Key, T, Hash, Pred, Alloc>& a,
|
7091 | 7086 | const unordered_map<Key, T, Hash, Pred, Alloc>& b);
|
7092 | 7087 | template <class Key, class T, class Hash, class Pred, class Alloc>
|
7093 | 7088 | bool operator!=(const unordered_map<Key, T, Hash, Pred, Alloc>& a,
|
7094 | 7089 | const unordered_map<Key, T, Hash, Pred, Alloc>& b);
|
| 7090 | + |
| 7091 | + template <class Key, class T, class Hash, class Pred, class Alloc> |
| 7092 | + void swap(unordered_map<Key, T, Hash, Pred, Alloc>& x, |
| 7093 | + unordered_map<Key, T, Hash, Pred, Alloc>& y) |
| 7094 | + noexcept(noexcept(x.swap(y))); |
7095 | 7095 | }
|
7096 | 7096 | \end{codeblock}
|
7097 | 7097 |
|
|
7560 | 7560 | void reserve(size_type n);
|
7561 | 7561 | };
|
7562 | 7562 |
|
7563 |
| - template <class Key, class T, class Hash, class Pred, class Alloc> |
7564 |
| - void swap(unordered_multimap<Key, T, Hash, Pred, Alloc>& x, |
7565 |
| - unordered_multimap<Key, T, Hash, Pred, Alloc>& y) |
7566 |
| - noexcept(noexcept(x.swap(y))); |
7567 |
| - |
7568 | 7563 | template <class Key, class T, class Hash, class Pred, class Alloc>
|
7569 | 7564 | bool operator==(const unordered_multimap<Key, T, Hash, Pred, Alloc>& a,
|
7570 | 7565 | const unordered_multimap<Key, T, Hash, Pred, Alloc>& b);
|
7571 | 7566 | template <class Key, class T, class Hash, class Pred, class Alloc>
|
7572 | 7567 | bool operator!=(const unordered_multimap<Key, T, Hash, Pred, Alloc>& a,
|
7573 | 7568 | const unordered_multimap<Key, T, Hash, Pred, Alloc>& b);
|
| 7569 | + |
| 7570 | + template <class Key, class T, class Hash, class Pred, class Alloc> |
| 7571 | + void swap(unordered_multimap<Key, T, Hash, Pred, Alloc>& x, |
| 7572 | + unordered_multimap<Key, T, Hash, Pred, Alloc>& y) |
| 7573 | + noexcept(noexcept(x.swap(y))); |
| 7574 | + |
7574 | 7575 | }
|
7575 | 7576 | \end{codeblock}
|
7576 | 7577 |
|
|
7842 | 7843 | void reserve(size_type n);
|
7843 | 7844 | };
|
7844 | 7845 |
|
7845 |
| - template <class Key, class Hash, class Pred, class Alloc> |
7846 |
| - void swap(unordered_set<Key, Hash, Pred, Alloc>& x, |
7847 |
| - unordered_set<Key, Hash, Pred, Alloc>& y) |
7848 |
| - noexcept(noexcept(x.swap(y))); |
7849 |
| - |
7850 | 7846 | template <class Key, class Hash, class Pred, class Alloc>
|
7851 | 7847 | bool operator==(const unordered_set<Key, Hash, Pred, Alloc>& a,
|
7852 | 7848 | const unordered_set<Key, Hash, Pred, Alloc>& b);
|
7853 | 7849 | template <class Key, class Hash, class Pred, class Alloc>
|
7854 | 7850 | bool operator!=(const unordered_set<Key, Hash, Pred, Alloc>& a,
|
7855 | 7851 | const unordered_set<Key, Hash, Pred, Alloc>& b);
|
| 7852 | + |
| 7853 | + template <class Key, class Hash, class Pred, class Alloc> |
| 7854 | + void swap(unordered_set<Key, Hash, Pred, Alloc>& x, |
| 7855 | + unordered_set<Key, Hash, Pred, Alloc>& y) |
| 7856 | + noexcept(noexcept(x.swap(y))); |
7856 | 7857 | }
|
7857 | 7858 | \end{codeblock}
|
7858 | 7859 |
|
|
8094 | 8095 | void reserve(size_type n);
|
8095 | 8096 | };
|
8096 | 8097 |
|
8097 |
| - template <class Key, class Hash, class Pred, class Alloc> |
8098 |
| - void swap(unordered_multiset<Key, Hash, Pred, Alloc>& x, |
8099 |
| - unordered_multiset<Key, Hash, Pred, Alloc>& y) |
8100 |
| - noexcept(noexcept(x.swap(y))); |
8101 |
| - |
8102 | 8098 | template <class Key, class Hash, class Pred, class Alloc>
|
8103 | 8099 | bool operator==(const unordered_multiset<Key, Hash, Pred, Alloc>& a,
|
8104 | 8100 | const unordered_multiset<Key, Hash, Pred, Alloc>& b);
|
8105 | 8101 | template <class Key, class Hash, class Pred, class Alloc>
|
8106 | 8102 | bool operator!=(const unordered_multiset<Key, Hash, Pred, Alloc>& a,
|
8107 | 8103 | const unordered_multiset<Key, Hash, Pred, Alloc>& b);
|
| 8104 | + |
| 8105 | + template <class Key, class Hash, class Pred, class Alloc> |
| 8106 | + void swap(unordered_multiset<Key, Hash, Pred, Alloc>& x, |
| 8107 | + unordered_multiset<Key, Hash, Pred, Alloc>& y) |
| 8108 | + noexcept(noexcept(x.swap(y))); |
8108 | 8109 | }
|
8109 | 8110 | \end{codeblock}
|
8110 | 8111 |
|
|
8558 | 8559 |
|
8559 | 8560 | \indexlibrary{\idxcode{priority_queue}!\idxcode{priority_queue}}%
|
8560 | 8561 | \begin{itemdecl}
|
8561 |
| -priority_queue(const Compare& x, |
8562 |
| - const Container& y); |
8563 |
| -explicit priority_queue(const Compare& x = Compare(), |
8564 |
| - Container&& y = Container()); |
| 8562 | +priority_queue(const Compare& x, const Container& y); |
| 8563 | +explicit priority_queue(const Compare& x = Compare(), Container&& y = Container()); |
8565 | 8564 | \end{itemdecl}
|
8566 | 8565 |
|
8567 | 8566 | \begin{itemdescr}
|
|
0 commit comments