tmp/tmp8tbh7xhc/{from.md → to.md}
RENAMED
|
@@ -77,12 +77,12 @@ namespace std {
|
|
| 77 |
bool operator> (const stack<T, Container>& x, const stack<T, Container>& y);
|
| 78 |
template <class T, class Container>
|
| 79 |
bool operator>=(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 80 |
template <class T, class Container>
|
| 81 |
bool operator<=(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 82 |
-
template <class T, class
|
| 83 |
-
void swap(stack<T,
|
| 84 |
|
| 85 |
template <class T, class Container, class Alloc>
|
| 86 |
struct uses_allocator<stack<T, Container>, Alloc>
|
| 87 |
: uses_allocator<Container, Alloc>::type { };
|
| 88 |
}
|
|
@@ -95,11 +95,11 @@ explicit stack(const Container& cont);
|
|
| 95 |
```
|
| 96 |
|
| 97 |
*Effects:* Initializes `c` with `cont`.
|
| 98 |
|
| 99 |
``` cpp
|
| 100 |
-
explicit stack(Container&&
|
| 101 |
```
|
| 102 |
|
| 103 |
*Effects:* Initializes `c` with `std::move(cont)`.
|
| 104 |
|
| 105 |
#### `stack` constructors with allocators <a id="stack.cons.alloc">[[stack.cons.alloc]]</a>
|
|
@@ -206,10 +206,11 @@ template <class T, class Container>
|
|
| 206 |
|
| 207 |
*Effects:* `x.swap(y)`.
|
| 208 |
|
| 209 |
<!-- Link reference definitions -->
|
| 210 |
[alg.sorting]: algorithms.md#alg.sorting
|
|
|
|
| 211 |
[algorithms]: algorithms.md#algorithms
|
| 212 |
[allocator.requirements]: library.md#allocator.requirements
|
| 213 |
[allocator.traits.members]: utilities.md#allocator.traits.members
|
| 214 |
[array]: #array
|
| 215 |
[array.cons]: #array.cons
|
|
@@ -265,17 +266,15 @@ template <class T, class Container>
|
|
| 265 |
[list.special]: #list.special
|
| 266 |
[map]: #map
|
| 267 |
[map.access]: #map.access
|
| 268 |
[map.cons]: #map.cons
|
| 269 |
[map.modifiers]: #map.modifiers
|
| 270 |
-
[map.ops]: #map.ops
|
| 271 |
[map.overview]: #map.overview
|
| 272 |
[map.special]: #map.special
|
| 273 |
[multimap]: #multimap
|
| 274 |
[multimap.cons]: #multimap.cons
|
| 275 |
[multimap.modifiers]: #multimap.modifiers
|
| 276 |
-
[multimap.ops]: #multimap.ops
|
| 277 |
[multimap.overview]: #multimap.overview
|
| 278 |
[multimap.special]: #multimap.special
|
| 279 |
[multiset]: #multiset
|
| 280 |
[multiset.cons]: #multiset.cons
|
| 281 |
[multiset.overview]: #multiset.overview
|
|
@@ -315,10 +314,11 @@ template <class T, class Container>
|
|
| 315 |
[tab:containers.lib.summary]: #tab:containers.lib.summary
|
| 316 |
[tab:containers.optional.operations]: #tab:containers.optional.operations
|
| 317 |
[tab:containers.reversible.requirements]: #tab:containers.reversible.requirements
|
| 318 |
[tab:containers.sequence.optional]: #tab:containers.sequence.optional
|
| 319 |
[tab:containers.sequence.requirements]: #tab:containers.sequence.requirements
|
|
|
|
| 320 |
[unord]: #unord
|
| 321 |
[unord.general]: #unord.general
|
| 322 |
[unord.hash]: utilities.md#unord.hash
|
| 323 |
[unord.map]: #unord.map
|
| 324 |
[unord.map.cnstr]: #unord.map.cnstr
|
|
|
|
| 77 |
bool operator> (const stack<T, Container>& x, const stack<T, Container>& y);
|
| 78 |
template <class T, class Container>
|
| 79 |
bool operator>=(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 80 |
template <class T, class Container>
|
| 81 |
bool operator<=(const stack<T, Container>& x, const stack<T, Container>& y);
|
| 82 |
+
template <class T, class Container>
|
| 83 |
+
void swap(stack<T, Container>& x, stack<T, Container>& y) noexcept(noexcept(x.swap(y)));
|
| 84 |
|
| 85 |
template <class T, class Container, class Alloc>
|
| 86 |
struct uses_allocator<stack<T, Container>, Alloc>
|
| 87 |
: uses_allocator<Container, Alloc>::type { };
|
| 88 |
}
|
|
|
|
| 95 |
```
|
| 96 |
|
| 97 |
*Effects:* Initializes `c` with `cont`.
|
| 98 |
|
| 99 |
``` cpp
|
| 100 |
+
explicit stack(Container&& cont = Container());
|
| 101 |
```
|
| 102 |
|
| 103 |
*Effects:* Initializes `c` with `std::move(cont)`.
|
| 104 |
|
| 105 |
#### `stack` constructors with allocators <a id="stack.cons.alloc">[[stack.cons.alloc]]</a>
|
|
|
|
| 206 |
|
| 207 |
*Effects:* `x.swap(y)`.
|
| 208 |
|
| 209 |
<!-- Link reference definitions -->
|
| 210 |
[alg.sorting]: algorithms.md#alg.sorting
|
| 211 |
+
[algorithm.stable]: library.md#algorithm.stable
|
| 212 |
[algorithms]: algorithms.md#algorithms
|
| 213 |
[allocator.requirements]: library.md#allocator.requirements
|
| 214 |
[allocator.traits.members]: utilities.md#allocator.traits.members
|
| 215 |
[array]: #array
|
| 216 |
[array.cons]: #array.cons
|
|
|
|
| 266 |
[list.special]: #list.special
|
| 267 |
[map]: #map
|
| 268 |
[map.access]: #map.access
|
| 269 |
[map.cons]: #map.cons
|
| 270 |
[map.modifiers]: #map.modifiers
|
|
|
|
| 271 |
[map.overview]: #map.overview
|
| 272 |
[map.special]: #map.special
|
| 273 |
[multimap]: #multimap
|
| 274 |
[multimap.cons]: #multimap.cons
|
| 275 |
[multimap.modifiers]: #multimap.modifiers
|
|
|
|
| 276 |
[multimap.overview]: #multimap.overview
|
| 277 |
[multimap.special]: #multimap.special
|
| 278 |
[multiset]: #multiset
|
| 279 |
[multiset.cons]: #multiset.cons
|
| 280 |
[multiset.overview]: #multiset.overview
|
|
|
|
| 314 |
[tab:containers.lib.summary]: #tab:containers.lib.summary
|
| 315 |
[tab:containers.optional.operations]: #tab:containers.optional.operations
|
| 316 |
[tab:containers.reversible.requirements]: #tab:containers.reversible.requirements
|
| 317 |
[tab:containers.sequence.optional]: #tab:containers.sequence.optional
|
| 318 |
[tab:containers.sequence.requirements]: #tab:containers.sequence.requirements
|
| 319 |
+
[temp.deduct]: temp.md#temp.deduct
|
| 320 |
[unord]: #unord
|
| 321 |
[unord.general]: #unord.general
|
| 322 |
[unord.hash]: utilities.md#unord.hash
|
| 323 |
[unord.map]: #unord.map
|
| 324 |
[unord.map.cnstr]: #unord.map.cnstr
|