diff --git a/source/containers.tex b/source/containers.tex index 65d7126454..62ed1368a9 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -16484,19 +16484,24 @@ // \ref{flat.set.cons}, constructors flat_set() : flat_set(key_compare()) { } + explicit flat_set(const key_compare& comp) + : @\exposid{c}@(), @\exposid{compare}@(comp) { } + explicit flat_set(container_type cont, const key_compare& comp = key_compare()); flat_set(sorted_unique_t, container_type cont, const key_compare& comp = key_compare()) : @\exposid{c}@(std::move(cont)), @\exposid{compare}@(comp) { } - explicit flat_set(const key_compare& comp) - : @\exposid{c}@(), @\exposid{compare}@(comp) { } - template flat_set(InputIterator first, InputIterator last, const key_compare& comp = key_compare()) : @\exposid{c}@(), @\exposid{compare}@(comp) { insert(first, last); } + template + flat_set(sorted_unique_t, InputIterator first, InputIterator last, + const key_compare& comp = key_compare()) + : @\exposid{c}@(first, last), @\exposid{compare}@(comp) { } + template<@\exposconcept{container-compatible-range}@ R> flat_set(from_range_t fr, R&& rg) : flat_set(fr, std::forward(rg), key_compare()) { } @@ -16505,11 +16510,6 @@ : flat_set(comp) { insert_range(std::forward(rg)); } - template - flat_set(sorted_unique_t, InputIterator first, InputIterator last, - const key_compare& comp = key_compare()) - : @\exposid{c}@(first, last), @\exposid{compare}@(comp) { } - flat_set(initializer_list il, const key_compare& comp = key_compare()) : flat_set(il.begin(), il.end(), comp) { } @@ -16519,6 +16519,10 @@ // \ref{flat.set.cons.alloc}, constructors with allocators + template + explicit flat_set(const Alloc& a); + template + flat_set(const key_compare& comp, const Alloc& a); template flat_set(const container_type& cont, const Alloc& a); template @@ -16528,33 +16532,29 @@ template flat_set(sorted_unique_t, const container_type& cont, const key_compare& comp, const Alloc& a); - template - flat_set(const key_compare& comp, const Alloc& a); - template - explicit flat_set(const Alloc& a); + template + flat_set(InputIterator first, InputIterator last, const Alloc& a); template flat_set(InputIterator first, InputIterator last, const key_compare& comp, const Alloc& a); template - flat_set(InputIterator first, InputIterator last, const Alloc& a); + flat_set(sorted_unique_t, InputIterator first, InputIterator last, const Alloc& a); + template + flat_set(sorted_unique_t, InputIterator first, InputIterator last, + const key_compare& comp, const Alloc& a); template<@\exposconcept{container-compatible-range}@ R, class Alloc> flat_set(from_range_t, R&& rg, const Alloc& a); template<@\exposconcept{container-compatible-range}@ R, class Alloc> flat_set(from_range_t, R&& rg, const key_compare& comp, const Alloc& a); - template - flat_set(sorted_unique_t, InputIterator first, InputIterator last, - const key_compare& comp, const Alloc& a); - template - flat_set(sorted_unique_t, InputIterator first, InputIterator last, const Alloc& a); + template + flat_set(initializer_list il, const Alloc& a); template flat_set(initializer_list il, const key_compare& comp, const Alloc& a); template - flat_set(initializer_list il, const Alloc& a); + flat_set(sorted_unique_t, initializer_list il, const Alloc& a); template flat_set(sorted_unique_t, initializer_list il, const key_compare& comp, const Alloc& a); - template - flat_set(sorted_unique_t, initializer_list il, const Alloc& a); flat_set& operator=(initializer_list); @@ -16794,32 +16794,32 @@ \indexlibraryctor{flat_set}% \begin{itemdecl} -template - flat_set(const key_compare& comp, const Alloc& a); template explicit flat_set(const Alloc& a); +template + flat_set(const key_compare& comp, const Alloc& a); +template + flat_set(InputIterator first, InputIterator last, const Alloc& a); template flat_set(InputIterator first, InputIterator last, const key_compare& comp, const Alloc& a); template - flat_set(InputIterator first, InputIterator last, const Alloc& a); + flat_set(sorted_unique_t, InputIterator first, InputIterator last, const Alloc& a); +template + flat_set(sorted_unique_t, InputIterator first, InputIterator last, + const key_compare& comp, const Alloc& a); template<@\exposconcept{container-compatible-range}@ R, class Alloc> flat_set(from_range_t, R&& rg, const Alloc& a); template<@\exposconcept{container-compatible-range}@ R, class Alloc> flat_set(from_range_t, R&& rg, const key_compare& comp, const Alloc& a); -template - flat_set(sorted_unique_t, InputIterator first, InputIterator last, - const key_compare& comp, const Alloc& a); -template - flat_set(sorted_unique_t, InputIterator first, InputIterator last, const Alloc& a); +template + flat_set(initializer_list il, const Alloc& a); template flat_set(initializer_list il, const key_compare& comp, const Alloc& a); template - flat_set(initializer_list il, const Alloc& a); + flat_set(sorted_unique_t, initializer_list il, const Alloc& a); template flat_set(sorted_unique_t, initializer_list il, const key_compare& comp, const Alloc& a); -template - flat_set(sorted_unique_t, initializer_list il, const Alloc& a); \end{itemdecl} \begin{itemdescr}