Files
2025-10-25 03:02:53 +03:00

1011 B
Raw Permalink Blame History

[flat.multiset.cons]

23 Containers library [containers]

23.6 Container adaptors [container.adaptors]

23.6.12 Class template flat_multiset [flat.multiset]

23.6.12.3 Constructors [flat.multiset.cons]

🔗

constexpr explicit flat_multiset(container_type cont, const key_compare& comp = key_compare());

1

#

Effects: Initializes c with std::move(cont) andcompare with comp, and sorts the range [begin(), end()) with respect to compare.

2

#

Complexity: Linear in N if cont is already sorted with respect to compare and otherwise NlogN, where N is the value of cont.size() before this call.