From Jason Turner

[stack.cons]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpprvgnf4c/{from.md → to.md} +16 -0
tmp/tmpprvgnf4c/{from.md → to.md} RENAMED
@@ -10,5 +10,21 @@ explicit stack(const Container& cont);
10
  explicit stack(Container&& cont);
11
  ```
12
 
13
  *Effects:* Initializes `c` with `std::move(cont)`.
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+