From Jason Turner

[queue.cons]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp1fw60a5o/{from.md → to.md} +16 -0
tmp/tmp1fw60a5o/{from.md → to.md} RENAMED
@@ -10,5 +10,21 @@ explicit queue(const Container& cont);
10
  explicit queue(Container&& cont);
11
  ```
12
 
13
  *Effects:* Initializes `c` with `std::move(cont)`.
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  explicit queue(Container&& cont);
11
  ```
12
 
13
  *Effects:* Initializes `c` with `std::move(cont)`.
14
 
15
+ ``` cpp
16
+ template<class InputIterator>
17
+ queue(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
+ queue(from_range_t, R&& rg);
26
+ ```
27
+
28
+ *Effects:* Initializes `c` with
29
+ `ranges::to<Container>(std::forward<R>(rg))`.
30
+