@@ -16337,20 +16337,20 @@
16337
16337
flat_set(const container_type& cont, const Allocator& a);
16338
16338
16339
16339
flat_set(sorted_unique_t, container_type cont)
16340
- : c (std::move(cont)), compare(key_compare()) { }
16340
+ : @\exposid{c}@ (std::move(cont)), @\exposid{ compare}@ (key_compare()) { }
16341
16341
template<class Allocator>
16342
16342
flat_set(sorted_unique_t, const container_type& cont, const Allocator& a);
16343
16343
16344
16344
explicit flat_set(const key_compare& comp)
16345
- : c (), compare(comp) { }
16345
+ : @\exposid{c}@ (), @\exposid{ compare}@ (comp) { }
16346
16346
template<class Allocator>
16347
16347
flat_set(const key_compare& comp, const Allocator& a);
16348
16348
template<class Allocator>
16349
16349
explicit flat_set(const Allocator& a);
16350
16350
16351
16351
template<class InputIterator>
16352
16352
flat_set(InputIterator first, InputIterator last, const key_compare& comp = key_compare())
16353
- : c (), compare(comp)
16353
+ : @\exposid{c}@ (), @\exposid{ compare}@ (comp)
16354
16354
{ insert(first, last); }
16355
16355
template<class InputIterator, class Allocator>
16356
16356
flat_set(InputIterator first, InputIterator last,
16373
16373
template<class InputIterator>
16374
16374
flat_set(sorted_unique_t, InputIterator first, InputIterator last,
16375
16375
const key_compare& comp = key_compare())
16376
- : c (first, last), compare(comp) { }
16376
+ : @\exposid{c}@ (first, last), @\exposid{ compare}@ (comp) { }
16377
16377
template<class InputIterator, class Allocator>
16378
16378
flat_set(sorted_unique_t, InputIterator first, InputIterator last,
16379
16379
const key_compare& comp, const Allocator& a);
@@ -16546,14 +16546,14 @@
16546
16546
\pnum
16547
16547
\effects
16548
16548
Initializes \exposid{c} with \tcode{std::move(cont)},
16549
- value-initializes \tcode {compare},
16550
- sorts the range \range{begin()}{end()} with respect to \tcode {compare}, and
16549
+ value-initializes \exposid {compare},
16550
+ sorts the range \range{begin()}{end()} with respect to \exposid {compare}, and
16551
16551
finally erases all but the first element
16552
16552
from each group of consecutive equivalent elements.
16553
16553
16554
16554
\pnum
16555
16555
\complexity
16556
- Linear in $N$ if \tcode{cont} is sorted with respect to \tcode {compare} and
16556
+ Linear in $N$ if \tcode{cont} is sorted with respect to \exposid {compare} and
16557
16557
otherwise $N \log N$, where $N$ is the value of \tcode{cont.size()} before this call.
16558
16558
\end{itemdescr}
16559
16559
@@ -16690,10 +16690,10 @@
16690
16690
\effects
16691
16691
Adds elements to \exposid{c} as if by:
16692
16692
\begin{codeblock}
16693
- c .insert(c .end(), first, last);
16693
+ @\exposid{c}@ .insert(@\exposid{c}@ .end(), first, last);
16694
16694
\end{codeblock}
16695
16695
Then,
16696
- sorts the range of newly inserted elements with respect to \tcode {compare};
16696
+ sorts the range of newly inserted elements with respect to \exposid {compare};
16697
16697
merges the resulting sorted range and
16698
16698
the sorted range of pre-existing elements into a single sorted range; and
16699
16699
finally erases all but the first element
@@ -16737,11 +16737,11 @@
16737
16737
Adds elements to \exposid{c} as if by:
16738
16738
\begin{codeblock}
16739
16739
for (const auto& e : rg) {
16740
- c .insert(c .end(), e);
16740
+ @\exposid{c}@ .insert(@\exposid{c}@ .end(), e);
16741
16741
}
16742
16742
\end{codeblock}
16743
16743
Then,
16744
- sorts the range of newly inserted elements with respect to \tcode {compare};
16744
+ sorts the range of newly inserted elements with respect to \exposid {compare};
16745
16745
merges the resulting sorted range and
16746
16746
the sorted range of pre-existing elements into a single sorted range; and
16747
16747
finally erases all but the first element
16768
16768
Equivalent to:
16769
16769
\begin{codeblock}
16770
16770
ranges::swap(compare, y.compare);
16771
- ranges::swap(c , y.c );
16771
+ ranges::swap(@\exposid{c}@ , y.@\exposid{c}@ );
16772
16772
\end{codeblock}
16773
16773
\end{itemdescr}
16774
16774
16784
16784
16785
16785
\pnum
16786
16786
\returns
16787
- \tcode{std::move(c )}.
16787
+ \tcode{std::move(\exposid{c} )}.
16788
16788
\end{itemdescr}
16789
16789
16790
16790
\indexlibrarymember{replace}{flat_set}%
@@ -16795,12 +16795,12 @@
16795
16795
\begin{itemdescr}
16796
16796
\pnum
16797
16797
\expects
16798
- The elements of \tcode{cont} are sorted with respect to \tcode {compare}, and
16798
+ The elements of \tcode{cont} are sorted with respect to \exposid {compare}, and
16799
16799
\tcode{cont} contains no equal elements.
16800
16800
16801
16801
\pnum
16802
16802
\effects
16803
- Equivalent to: \tcode{c = std::move(cont);}
16803
+ Equivalent to: \tcode{\exposid{c} = std::move(cont);}
16804
16804
\end{itemdescr}
16805
16805
16806
16806
\rSec3[flat.set.erasure]{Erasure}
@@ -16936,12 +16936,12 @@
16936
16936
flat_multiset(const container_type& cont, const Allocator& a);
16937
16937
16938
16938
flat_multiset(sorted_equivalent_t, container_type cont)
16939
- : c (std::move(cont)), compare(key_compare()) { }
16939
+ : @\exposid{c}@ (std::move(cont)), @\exposid{ compare}@ (key_compare()) { }
16940
16940
template<class Allocator>
16941
16941
flat_multiset(sorted_equivalent_t, const container_type&, const Allocator& a);
16942
16942
16943
16943
explicit flat_multiset(const key_compare& comp)
16944
- : c (), compare(comp) { }
16944
+ : @\exposid{c}@ (), @\exposid{ compare}@ (comp) { }
16945
16945
template<class Allocator>
16946
16946
flat_multiset(const key_compare& comp, const Allocator& a);
16947
16947
template<class Allocator>
16950
16950
template<class InputIterator>
16951
16951
flat_multiset(InputIterator first, InputIterator last,
16952
16952
const key_compare& comp = key_compare())
16953
- : c (), compare(comp)
16953
+ : @\exposid{c}@ (), @\exposid{ compare}@ (comp)
16954
16954
{ insert(first, last); }
16955
16955
template<class InputIterator, class Allocator>
16956
16956
flat_multiset(InputIterator first, InputIterator last,
16973
16973
template<class InputIterator>
16974
16974
flat_multiset(sorted_equivalent_t, InputIterator first, InputIterator last,
16975
16975
const key_compare& comp = key_compare())
16976
- : c (first, last), compare(comp) { }
16976
+ : @\exposid{c}@ (first, last), @\exposid{ compare}@ (comp) { }
16977
16977
template<class InputIterator, class Allocator>
16978
16978
flat_multiset(sorted_equivalent_t, InputIterator first, InputIterator last,
16979
16979
const key_compare& comp, const Allocator& a);
0 commit comments