Skip to content

Commit a136094

Browse files
[container.adaptors] Avoid naming sorted_{equivalent,unique}_t tag parameters (#7867)
1 parent 0d81f96 commit a136094

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

source/containers.tex

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -17138,9 +17138,9 @@
1713817138
: @\exposid{c}@(), @\exposid{compare}@(comp) { insert(first, last); }
1713917139

1714017140
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,
1714217142
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); }
1714417144

1714517145
template<@\exposconcept{container-compatible-range}@<value_type> R>
1714617146
constexpr flat_map(from_range_t, R&& rg)
@@ -17152,9 +17152,9 @@
1715217152
constexpr flat_map(initializer_list<value_type> il, const key_compare& comp = key_compare())
1715317153
: flat_map(il.begin(), il.end(), comp) { }
1715417154

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,
1715617156
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) { }
1715817158

1715917159
// \ref{flat.map.cons.alloc}, constructors with allocators
1716017160

@@ -17265,8 +17265,8 @@
1726517265

1726617266
constexpr void insert(initializer_list<value_type> il)
1726717267
{ 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()); }
1727017270

1727117271
constexpr containers extract() &&;
1727217272
constexpr void replace(key_container_type&& key_cont, mapped_container_type&& mapped_cont);
@@ -17518,19 +17518,19 @@
1751817518
\indexlibraryctor{flat_map}%
1751917519
\begin{itemdecl}
1752017520
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,
1752217522
const mapped_container_type& mapped_cont, const Alloc& a);
1752317523
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,
1752517525
const mapped_container_type& mapped_cont, const key_compare& comp,
1752617526
const Alloc& a);
1752717527
\end{itemdecl}
1752817528

1752917529
\begin{itemdescr}
1753017530
\pnum
1753117531
\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,
1753417534
except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.values} are constructed
1753517535
with uses-allocator construction\iref{allocator.uses.construction}.
1753617536

@@ -18334,9 +18334,9 @@
1833418334
{ insert(first, last); }
1833518335

1833618336
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,
1833818338
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); }
1834018340

1834118341
template<@\exposconcept{container-compatible-range}@<value_type> R>
1834218342
constexpr flat_multimap(from_range_t, R&& rg)
@@ -18349,9 +18349,9 @@
1834918349
const key_compare& comp = key_compare())
1835018350
: flat_multimap(il.begin(), il.end(), comp) { }
1835118351

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,
1835318353
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) { }
1835518355

1835618356
// \ref{flat.multimap.cons.alloc}, constructors with allocators
1835718357

@@ -18453,8 +18453,8 @@
1845318453

1845418454
constexpr void insert(initializer_list<value_type> il)
1845518455
{ 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()); }
1845818458

1845918459
constexpr containers extract() &&;
1846018460
constexpr void replace(key_container_type&& key_cont, mapped_container_type&& mapped_cont);
@@ -18673,19 +18673,19 @@
1867318673
\indexlibraryctor{flat_multimap}%
1867418674
\begin{itemdecl}
1867518675
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,
1867718677
const mapped_container_type& mapped_cont, const Alloc& a);
1867818678
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,
1868018680
const mapped_container_type& mapped_cont, const key_compare& comp,
1868118681
const Alloc& a);
1868218682
\end{itemdecl}
1868318683

1868418684
\begin{itemdescr}
1868518685
\pnum
1868618686
\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,
1868918689
except that \tcode{\exposid{c}.keys} and \tcode{\exposid{c}.val\-ues} are constructed
1869018690
with uses-allocator construction\iref{allocator.uses.construction}.
1869118691

@@ -18962,9 +18962,9 @@
1896218962
constexpr flat_set(initializer_list<value_type> il, const key_compare& comp = key_compare())
1896318963
: flat_set(il.begin(), il.end(), comp) { }
1896418964

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,
1896618966
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) { }
1896818968

1896918969
// \ref{flat.set.cons.alloc}, constructors with allocators
1897018970

@@ -19059,8 +19059,8 @@
1905919059

1906019060
constexpr void insert(initializer_list<value_type> il)
1906119061
{ 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()); }
1906419064

1906519065
constexpr container_type extract() &&;
1906619066
constexpr void replace(container_type&&);
@@ -19228,17 +19228,17 @@
1922819228
\indexlibraryctor{flat_set}%
1922919229
\begin{itemdecl}
1923019230
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);
1923219232
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,
1923419234
const key_compare& comp, const Alloc& a);
1923519235
\end{itemdecl}
1923619236

1923719237
\begin{itemdescr}
1923819238
\pnum
1923919239
\effects
1924019240
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,
1924219242
except that \exposid{c} is constructed with
1924319243
uses-allocator construction\iref{allocator.uses.construction}.
1924419244

@@ -19632,9 +19632,9 @@
1963219632
const key_compare& comp = key_compare())
1963319633
: flat_multiset(il.begin(), il.end(), comp) { }
1963419634

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,
1963619636
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) { }
1963819638

1963919639
// \ref{flat.multiset.cons.alloc}, constructors with allocators
1964019640

@@ -19729,8 +19729,8 @@
1972919729

1973019730
constexpr void insert(initializer_list<value_type> il)
1973119731
{ 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()); }
1973419734

1973519735
constexpr container_type extract() &&;
1973619736
constexpr void replace(container_type&&);
@@ -19898,17 +19898,17 @@
1989819898
\indexlibraryctor{flat_multiset}%
1989919899
\begin{itemdecl}
1990019900
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);
1990219902
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,
1990419904
const key_compare& comp, const Alloc& a);
1990519905
\end{itemdecl}
1990619906

1990719907
\begin{itemdescr}
1990819908
\pnum
1990919909
\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,
1991219912
except that \exposid{c} is constructed with
1991319913
uses-allocator construction\iref{allocator.uses.construction}.
1991419914

0 commit comments

Comments
 (0)