tmp/tmpca4gjls5/{from.md → to.md}
RENAMED
|
@@ -1,30 +1,30 @@
|
|
| 1 |
#### Constructors <a id="stack.cons">[[stack.cons]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
explicit stack(const Container& cont);
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Initializes `c` with `cont`.
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
-
explicit stack(Container&& cont);
|
| 11 |
```
|
| 12 |
|
| 13 |
*Effects:* Initializes `c` with `std::move(cont)`.
|
| 14 |
|
| 15 |
``` cpp
|
| 16 |
template<class InputIterator>
|
| 17 |
-
stack(InputIterator first, InputIterator last);
|
| 18 |
```
|
| 19 |
|
| 20 |
*Effects:* Initializes `c` with `first` as the first argument and `last`
|
| 21 |
as the second argument.
|
| 22 |
|
| 23 |
``` cpp
|
| 24 |
template<container-compatible-range<T> R>
|
| 25 |
-
stack(from_range_t, R&& rg);
|
| 26 |
```
|
| 27 |
|
| 28 |
*Effects:* Initializes `c` with
|
| 29 |
`ranges::to<Container>(std::forward<R>(rg))`.
|
| 30 |
|
|
|
|
| 1 |
#### Constructors <a id="stack.cons">[[stack.cons]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
constexpr explicit stack(const Container& cont);
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Initializes `c` with `cont`.
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
+
constexpr explicit stack(Container&& cont);
|
| 11 |
```
|
| 12 |
|
| 13 |
*Effects:* Initializes `c` with `std::move(cont)`.
|
| 14 |
|
| 15 |
``` cpp
|
| 16 |
template<class InputIterator>
|
| 17 |
+
constexpr stack(InputIterator first, InputIterator last);
|
| 18 |
```
|
| 19 |
|
| 20 |
*Effects:* Initializes `c` with `first` as the first argument and `last`
|
| 21 |
as the second argument.
|
| 22 |
|
| 23 |
``` cpp
|
| 24 |
template<container-compatible-range<T> R>
|
| 25 |
+
constexpr stack(from_range_t, R&& rg);
|
| 26 |
```
|
| 27 |
|
| 28 |
*Effects:* Initializes `c` with
|
| 29 |
`ranges::to<Container>(std::forward<R>(rg))`.
|
| 30 |
|