Skip to content

Commit aa8a531

Browse files
Saalvagetkoeppe
authored andcommitted
[flat.multiset.defn] Fix minor errors and inconsistencies
[flat.set.defn] and [flat.multiset.defn] are now formatted identically. Additionally removed erroenous template parameters in two deduction guides.
1 parent a4b1ffd commit aa8a531

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/containers.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17129,8 +17129,8 @@
1712917129
friend void swap(flat_set& x, flat_set& y) noexcept { x.swap(y); }
1713017130

1713117131
private:
17132-
container_type @\exposid{c}@; // \expos
17133-
key_compare @\exposid{compare}@; // \expos
17132+
container_type @\exposidnc{c}@; // \expos
17133+
key_compare @\exposidnc{compare}@; // \expos
1713417134
};
1713517135

1713617136
template<class KeyContainer, class Compare = less<typename KeyContainer::value_type>>
@@ -17629,7 +17629,7 @@
1762917629
const key_compare& comp = key_compare())
1763017630
: @\exposid{c}@(std::move(cont)), @\exposid{compare}@(comp) { }
1763117631
template<class Allocator>
17632-
flat_multiset(sorted_equivalent_t, const container_type&, const Allocator& a);
17632+
flat_multiset(sorted_equivalent_t, const container_type& cont, const Allocator& a);
1763317633
template<class Allocator>
1763417634
flat_multiset(sorted_equivalent_t, const container_type& cont,
1763517635
const key_compare& comp, const Allocator& a);
@@ -17795,8 +17795,8 @@
1779517795
{ x.swap(y); }
1779617796

1779717797
private:
17798-
container_type @\exposid{c}@; // \expos
17799-
key_compare @\exposid{compare}@; // \expos
17798+
container_type @\exposidnc{c}@; // \expos
17799+
key_compare @\exposidnc{compare}@; // \expos
1780017800
};
1780117801

1780217802
template<class KeyContainer, class Compare = less<typename KeyContainer::value_type>>
@@ -17823,11 +17823,11 @@
1782317823

1782417824
template<class InputIterator, class Compare = less<@\placeholder{iter-value-type}@<InputIterator>>>
1782517825
flat_multiset(InputIterator, InputIterator, Compare = Compare())
17826-
-> flat_multiset<@\placeholder{iter-value-type}@<InputIterator>, @\placeholder{iter-value-type}@<InputIterator>, Compare>;
17826+
-> flat_multiset<@\placeholder{iter-value-type}@<InputIterator>, Compare>;
1782717827

1782817828
template<class InputIterator, class Compare = less<@\placeholder{iter-value-type}@<InputIterator>>>
1782917829
flat_multiset(sorted_equivalent_t, InputIterator, InputIterator, Compare = Compare())
17830-
-> flat_multiset<@\placeholder{iter-value-type}@<InputIterator>, @\placeholder{iter-value-type}@<InputIterator>, Compare>;
17830+
-> flat_multiset<@\placeholder{iter-value-type}@<InputIterator>, Compare>;
1783117831

1783217832
template<ranges::@\libconcept{input_range}@ R, class Compare = less<ranges::range_value_t<R>>,
1783317833
class Allocator = allocator<ranges::range_value_t<R>>>

0 commit comments

Comments
 (0)