|
17138 | 17138 | : @\exposid{c}@(), @\exposid{compare}@(comp) { insert(first, last); } |
17139 | 17139 |
|
17140 | 17140 | template<class InputIterator> |
17141 | | - constexpr flat_map(sorted_unique_t s, InputIterator first, InputIterator last, |
| 17141 | + constexpr flat_map(sorted_unique_t, InputIterator first, InputIterator last, |
17142 | 17142 | const key_compare& comp = key_compare()) |
17143 | | - : @\exposid{c}@(), @\exposid{compare}@(comp) { insert(s, first, last); } |
| 17143 | + : @\exposid{c}@(), @\exposid{compare}@(comp) { insert(sorted_unique, first, last); } |
17144 | 17144 |
|
17145 | 17145 | template<@\exposconcept{container-compatible-range}@<value_type> R> |
17146 | 17146 | constexpr flat_map(from_range_t, R&& rg) |
|
17152 | 17152 | constexpr flat_map(initializer_list<value_type> il, const key_compare& comp = key_compare()) |
17153 | 17153 | : flat_map(il.begin(), il.end(), comp) { } |
17154 | 17154 |
|
17155 | | - constexpr flat_map(sorted_unique_t s, initializer_list<value_type> il, |
| 17155 | + constexpr flat_map(sorted_unique_t, initializer_list<value_type> il, |
17156 | 17156 | const key_compare& comp = key_compare()) |
17157 | | - : flat_map(s, il.begin(), il.end(), comp) { } |
| 17157 | + : flat_map(sorted_unique, il.begin(), il.end(), comp) { } |
17158 | 17158 |
|
17159 | 17159 | // \ref{flat.map.cons.alloc}, constructors with allocators |
17160 | 17160 |
|
|
17265 | 17265 |
|
17266 | 17266 | constexpr void insert(initializer_list<value_type> il) |
17267 | 17267 | { insert(il.begin(), il.end()); } |
17268 | | - constexpr void insert(sorted_unique_t s, initializer_list<value_type> il) |
17269 | | - { insert(s, il.begin(), il.end()); } |
| 17268 | + constexpr void insert(sorted_unique_t, initializer_list<value_type> il) |
| 17269 | + { insert(sorted_unique, il.begin(), il.end()); } |
17270 | 17270 |
|
17271 | 17271 | constexpr containers extract() &&; |
17272 | 17272 | constexpr void replace(key_container_type&& key_cont, mapped_container_type&& mapped_cont); |
@@ -17518,19 +17518,19 @@ |
17518 | 17518 | \indexlibraryctor{flat_map}% |
17519 | 17519 | \begin{itemdecl} |
17520 | 17520 | template<class Alloc> |
17521 | | - constexpr flat_map(sorted_unique_t s, const key_container_type& key_cont, |
| 17521 | + constexpr flat_map(sorted_unique_t, const key_container_type& key_cont, |
17522 | 17522 | const mapped_container_type& mapped_cont, const Alloc& a); |
17523 | 17523 | template<class Alloc> |
17524 | | - constexpr flat_map(sorted_unique_t s, const key_container_type& key_cont, |
| 17524 | + constexpr flat_map(sorted_unique_t, const key_container_type& key_cont, |
17525 | 17525 | const mapped_container_type& mapped_cont, const key_compare& comp, |
17526 | 17526 | const Alloc& a); |
17527 | 17527 | \end{itemdecl} |
17528 | 17528 |
|
17529 | 17529 | \begin{itemdescr} |
17530 | 17530 | \pnum |
17531 | 17531 | \effects |
17532 | | -Equivalent to \tcode{flat_map(s, key_cont, mapped_cont)} and |
17533 | | -\tcode{flat_map(s, key_cont, \linebreak{}mapped_cont, comp)}, respectively, |
| 17532 | +Equivalent to \tcode{flat_map(sorted_unique, key_cont, mapped_cont)} and |
| 17533 | +\tcode{flat_map(sorted_unique, key_cont, \linebreak{}mapped_cont, comp)}, respectively, |
17534 | 17534 | except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.values} are constructed |
17535 | 17535 | with uses-allocator construction\iref{allocator.uses.construction}. |
17536 | 17536 |
|
|
18334 | 18334 | { insert(first, last); } |
18335 | 18335 |
|
18336 | 18336 | template<class InputIterator> |
18337 | | - constexpr flat_multimap(sorted_equivalent_t s, InputIterator first, InputIterator last, |
| 18337 | + constexpr flat_multimap(sorted_equivalent_t, InputIterator first, InputIterator last, |
18338 | 18338 | const key_compare& comp = key_compare()) |
18339 | | - : @\exposid{c}@(), @\exposid{compare}@(comp) { insert(s, first, last); } |
| 18339 | + : @\exposid{c}@(), @\exposid{compare}@(comp) { insert(sorted_equivalent, first, last); } |
18340 | 18340 |
|
18341 | 18341 | template<@\exposconcept{container-compatible-range}@<value_type> R> |
18342 | 18342 | constexpr flat_multimap(from_range_t, R&& rg) |
|
18349 | 18349 | const key_compare& comp = key_compare()) |
18350 | 18350 | : flat_multimap(il.begin(), il.end(), comp) { } |
18351 | 18351 |
|
18352 | | - constexpr flat_multimap(sorted_equivalent_t s, initializer_list<value_type> il, |
| 18352 | + constexpr flat_multimap(sorted_equivalent_t, initializer_list<value_type> il, |
18353 | 18353 | const key_compare& comp = key_compare()) |
18354 | | - : flat_multimap(s, il.begin(), il.end(), comp) { } |
| 18354 | + : flat_multimap(sorted_equivalent, il.begin(), il.end(), comp) { } |
18355 | 18355 |
|
18356 | 18356 | // \ref{flat.multimap.cons.alloc}, constructors with allocators |
18357 | 18357 |
|
|
18453 | 18453 |
|
18454 | 18454 | constexpr void insert(initializer_list<value_type> il) |
18455 | 18455 | { insert(il.begin(), il.end()); } |
18456 | | - constexpr void insert(sorted_equivalent_t s, initializer_list<value_type> il) |
18457 | | - { insert(s, il.begin(), il.end()); } |
| 18456 | + constexpr void insert(sorted_equivalent_t, initializer_list<value_type> il) |
| 18457 | + { insert(sorted_equivalent, il.begin(), il.end()); } |
18458 | 18458 |
|
18459 | 18459 | constexpr containers extract() &&; |
18460 | 18460 | constexpr void replace(key_container_type&& key_cont, mapped_container_type&& mapped_cont); |
@@ -18673,19 +18673,19 @@ |
18673 | 18673 | \indexlibraryctor{flat_multimap}% |
18674 | 18674 | \begin{itemdecl} |
18675 | 18675 | template<class Alloc> |
18676 | | - constexpr flat_multimap(sorted_equivalent_t s, const key_container_type& key_cont, |
| 18676 | + constexpr flat_multimap(sorted_equivalent_t, const key_container_type& key_cont, |
18677 | 18677 | const mapped_container_type& mapped_cont, const Alloc& a); |
18678 | 18678 | template<class Alloc> |
18679 | | - constexpr flat_multimap(sorted_equivalent_t s, const key_container_type& key_cont, |
| 18679 | + constexpr flat_multimap(sorted_equivalent_t, const key_container_type& key_cont, |
18680 | 18680 | const mapped_container_type& mapped_cont, const key_compare& comp, |
18681 | 18681 | const Alloc& a); |
18682 | 18682 | \end{itemdecl} |
18683 | 18683 |
|
18684 | 18684 | \begin{itemdescr} |
18685 | 18685 | \pnum |
18686 | 18686 | \effects |
18687 | | -Equivalent to \tcode{flat_multimap(s, key_cont, mapped_cont)} and |
18688 | | -\tcode{flat_multimap(s, key_cont, mapped_cont, comp)}, respectively, |
| 18687 | +Equivalent to \tcode{flat_multimap(sorted_equivalent, key_cont, mapped_cont)} and |
| 18688 | +\tcode{flat_multimap(sorted_equivalent, key_cont, mapped_cont, comp)}, respectively, |
18689 | 18689 | except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.val\-ues} are constructed |
18690 | 18690 | with uses-allocator construction\iref{allocator.uses.construction}. |
18691 | 18691 |
|
|
18962 | 18962 | constexpr flat_set(initializer_list<value_type> il, const key_compare& comp = key_compare()) |
18963 | 18963 | : flat_set(il.begin(), il.end(), comp) { } |
18964 | 18964 |
|
18965 | | - constexpr flat_set(sorted_unique_t s, initializer_list<value_type> il, |
| 18965 | + constexpr flat_set(sorted_unique_t, initializer_list<value_type> il, |
18966 | 18966 | const key_compare& comp = key_compare()) |
18967 | | - : flat_set(s, il.begin(), il.end(), comp) { } |
| 18967 | + : flat_set(sorted_unique, il.begin(), il.end(), comp) { } |
18968 | 18968 |
|
18969 | 18969 | // \ref{flat.set.cons.alloc}, constructors with allocators |
18970 | 18970 |
|
|
19059 | 19059 |
|
19060 | 19060 | constexpr void insert(initializer_list<value_type> il) |
19061 | 19061 | { insert(il.begin(), il.end()); } |
19062 | | - constexpr void insert(sorted_unique_t s, initializer_list<value_type> il) |
19063 | | - { insert(s, il.begin(), il.end()); } |
| 19062 | + constexpr void insert(sorted_unique_t, initializer_list<value_type> il) |
| 19063 | + { insert(sorted_unique, il.begin(), il.end()); } |
19064 | 19064 |
|
19065 | 19065 | constexpr container_type extract() &&; |
19066 | 19066 | constexpr void replace(container_type&&); |
@@ -19228,17 +19228,17 @@ |
19228 | 19228 | \indexlibraryctor{flat_set}% |
19229 | 19229 | \begin{itemdecl} |
19230 | 19230 | template<class Alloc> |
19231 | | - constexpr flat_set(sorted_unique_t s, const container_type& cont, const Alloc& a); |
| 19231 | + constexpr flat_set(sorted_unique_t, const container_type& cont, const Alloc& a); |
19232 | 19232 | template<class Alloc> |
19233 | | - constexpr flat_set(sorted_unique_t s, const container_type& cont, |
| 19233 | + constexpr flat_set(sorted_unique_t, const container_type& cont, |
19234 | 19234 | const key_compare& comp, const Alloc& a); |
19235 | 19235 | \end{itemdecl} |
19236 | 19236 |
|
19237 | 19237 | \begin{itemdescr} |
19238 | 19238 | \pnum |
19239 | 19239 | \effects |
19240 | 19240 | Equivalent to |
19241 | | -\tcode{flat_set(s, cont)} and \tcode{flat_set(s, cont, comp)}, respectively, |
| 19241 | +\tcode{flat_set(sorted_unique, cont)} and \tcode{flat_set(sorted_unique, cont, comp)}, respectively, |
19242 | 19242 | except that \exposid{c} is constructed with |
19243 | 19243 | uses-allocator construction\iref{allocator.uses.construction}. |
19244 | 19244 |
|
|
19632 | 19632 | const key_compare& comp = key_compare()) |
19633 | 19633 | : flat_multiset(il.begin(), il.end(), comp) { } |
19634 | 19634 |
|
19635 | | - constexpr flat_multiset(sorted_equivalent_t s, initializer_list<value_type> il, |
| 19635 | + constexpr flat_multiset(sorted_equivalent_t, initializer_list<value_type> il, |
19636 | 19636 | const key_compare& comp = key_compare()) |
19637 | | - : flat_multiset(s, il.begin(), il.end(), comp) { } |
| 19637 | + : flat_multiset(sorted_equivalent, il.begin(), il.end(), comp) { } |
19638 | 19638 |
|
19639 | 19639 | // \ref{flat.multiset.cons.alloc}, constructors with allocators |
19640 | 19640 |
|
|
19729 | 19729 |
|
19730 | 19730 | constexpr void insert(initializer_list<value_type> il) |
19731 | 19731 | { insert(il.begin(), il.end()); } |
19732 | | - constexpr void insert(sorted_equivalent_t s, initializer_list<value_type> il) |
19733 | | - { insert(s, il.begin(), il.end()); } |
| 19732 | + constexpr void insert(sorted_equivalent_t, initializer_list<value_type> il) |
| 19733 | + { insert(sorted_equivalent, il.begin(), il.end()); } |
19734 | 19734 |
|
19735 | 19735 | constexpr container_type extract() &&; |
19736 | 19736 | constexpr void replace(container_type&&); |
@@ -19898,17 +19898,17 @@ |
19898 | 19898 | \indexlibraryctor{flat_multiset}% |
19899 | 19899 | \begin{itemdecl} |
19900 | 19900 | template<class Alloc> |
19901 | | - constexpr flat_multiset(sorted_equivalent_t s, const container_type& cont, const Alloc& a); |
| 19901 | + constexpr flat_multiset(sorted_equivalent_t, const container_type& cont, const Alloc& a); |
19902 | 19902 | template<class Alloc> |
19903 | | - constexpr flat_multiset(sorted_equivalent_t s, const container_type& cont, |
| 19903 | + constexpr flat_multiset(sorted_equivalent_t, const container_type& cont, |
19904 | 19904 | const key_compare& comp, const Alloc& a); |
19905 | 19905 | \end{itemdecl} |
19906 | 19906 |
|
19907 | 19907 | \begin{itemdescr} |
19908 | 19908 | \pnum |
19909 | 19909 | \effects |
19910 | | -Equivalent to \tcode{flat_multiset(s, cont)} and |
19911 | | -\tcode{flat_multiset(s, cont, comp)}, respectively, |
| 19910 | +Equivalent to \tcode{flat_multiset(sorted_equivalent, cont)} and |
| 19911 | +\tcode{flat_multiset(sorted_equivalent, cont, comp)}, respectively, |
19912 | 19912 | except that \exposid{c} is constructed with |
19913 | 19913 | uses-allocator construction\iref{allocator.uses.construction}. |
19914 | 19914 |
|
|
0 commit comments