From Jason Turner

[flat.multiset.cons.alloc]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpw5fo9uzv/{from.md → to.md} +75 -0
tmp/tmpw5fo9uzv/{from.md → to.md} RENAMED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Constructors with allocators <a id="flat.multiset.cons.alloc">[[flat.multiset.cons.alloc]]</a>
2
+
3
+ The constructors in this subclause shall not participate in overload
4
+ resolution unless `uses_allocator_v<container_type, Alloc>` is `true`.
5
+
6
+ ``` cpp
7
+ template<class Alloc>
8
+ constexpr flat_multiset(const container_type& cont, const Alloc& a);
9
+ template<class Alloc>
10
+ constexpr flat_multiset(const container_type& cont, const key_compare& comp, const Alloc& a);
11
+ ```
12
+
13
+ *Effects:* Equivalent to `flat_multiset(cont)` and
14
+ `flat_multiset(cont, comp)`, respectively, except that *c* is
15
+ constructed with uses-allocator
16
+ construction [[allocator.uses.construction]].
17
+
18
+ *Complexity:* Same as `flat_multiset(cont)` and
19
+ `flat_multiset(cont, comp)`, respectively.
20
+
21
+ ``` cpp
22
+ template<class Alloc>
23
+ constexpr flat_multiset(sorted_equivalent_t, const container_type& cont, const Alloc& a);
24
+ template<class Alloc>
25
+ constexpr flat_multiset(sorted_equivalent_t, const container_type& cont,
26
+ const key_compare& comp, const Alloc& a);
27
+ ```
28
+
29
+ *Effects:* Equivalent to `flat_multiset(sorted_equivalent, cont)` and
30
+ `flat_multiset(sorted_equivalent, cont, comp)`, respectively, except
31
+ that *c* is constructed with uses-allocator
32
+ construction [[allocator.uses.construction]].
33
+
34
+ *Complexity:* Linear.
35
+
36
+ ``` cpp
37
+ template<class Alloc>
38
+ constexpr explicit flat_multiset(const Alloc& a);
39
+ template<class Alloc>
40
+ constexpr flat_multiset(const key_compare& comp, const Alloc& a);
41
+ template<class Alloc>
42
+ constexpr flat_multiset(const flat_multiset&, const Alloc& a);
43
+ template<class Alloc>
44
+ constexpr flat_multiset(flat_multiset&&, const Alloc& a);
45
+ template<class InputIterator, class Alloc>
46
+ constexpr flat_multiset(InputIterator first, InputIterator last, const Alloc& a);
47
+ template<class InputIterator, class Alloc>
48
+ constexpr flat_multiset(InputIterator first, InputIterator last,
49
+ const key_compare& comp, const Alloc& a);
50
+ template<class InputIterator, class Alloc>
51
+ constexpr flat_multiset(sorted_equivalent_t, InputIterator first, InputIterator last,
52
+ const Alloc& a);
53
+ template<class InputIterator, class Alloc>
54
+ constexpr flat_multiset(sorted_equivalent_t, InputIterator first, InputIterator last,
55
+ const key_compare& comp, const Alloc& a);
56
+ template<container-compatible-range<value_type> R, class Alloc>
57
+ constexpr flat_multiset(from_range_t, R&& rg, const Alloc& a);
58
+ template<container-compatible-range<value_type> R, class Alloc>
59
+ constexpr flat_multiset(from_range_t, R&& rg, const key_compare& comp, const Alloc& a);
60
+ template<class Alloc>
61
+ constexpr flat_multiset(initializer_list<value_type> il, const Alloc& a);
62
+ template<class Alloc>
63
+ constexpr flat_multiset(initializer_list<value_type> il, const key_compare& comp,
64
+ const Alloc& a);
65
+ template<class Alloc>
66
+ constexpr flat_multiset(sorted_equivalent_t, initializer_list<value_type> il, const Alloc& a);
67
+ template<class Alloc>
68
+ constexpr flat_multiset(sorted_equivalent_t, initializer_list<value_type> il,
69
+ const key_compare& comp, const Alloc& a);
70
+ ```
71
+
72
+ *Effects:* Equivalent to the corresponding non-allocator constructors
73
+ except that *c* is constructed with uses-allocator
74
+ construction [[allocator.uses.construction]].
75
+