From Jason Turner

[queue.cons.alloc]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp_xbzzf67/{from.md → to.md} +16 -0
tmp/tmp_xbzzf67/{from.md → to.md} RENAMED
@@ -35,5 +35,21 @@ template<class Alloc> queue(queue&& q, const Alloc& a);
35
  ```
36
 
37
  *Effects:* Initializes `c` with `std::move(q.c)` as the first argument
38
  and `a` as the second argument.
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  ```
36
 
37
  *Effects:* Initializes `c` with `std::move(q.c)` as the first argument
38
  and `a` as the second argument.
39
 
40
+ ``` cpp
41
+ template<class InputIterator, class Alloc>
42
+ queue(InputIterator first, InputIterator last, const Alloc& alloc);
43
+ ```
44
+
45
+ *Effects:* Initializes `c` with `first` as the first argument, `last` as
46
+ the second argument, and `alloc` as the third argument.
47
+
48
+ ``` cpp
49
+ template<container-compatible-range<T> R, class Alloc>
50
+ queue(from_range_t, R&& rg, const Alloc& a);
51
+ ```
52
+
53
+ *Effects:* Initializes `c` with
54
+ `ranges::to<Container>(std::forward<R>(rg), a)`.
55
+