You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original containers use the heading "Specialized algorithms" for the section whose only purpose is to overload std::swap(). The unordered containers (which are fairly new) use the heading "Swap". That's inconsistent.
My personal view is that we should remove that subclause entirely:
The declaration is already shown in the header synopsis.
The meaning should be established by some front-matter wording in the container requirements, which we already have. Maybe add "equivalent to:" in front of the a.swap(b) equivalence in the corresponding table row so that noexcept is the same.
The text was updated successfully, but these errors were encountered:
Editorial meeting consensus: Add "equivalent to" in front of the a.swap(b) equivalence in the container requirement table. Remove all sections describing "swap" from the specific container subclauses. Leave array, queue, priority_queue, stack alone. Deleting stable labels needs announcement to Marshall and Daniel Krügler.
The original containers use the heading "Specialized algorithms" for the section whose only purpose is to overload
std::swap()
. The unordered containers (which are fairly new) use the heading "Swap". That's inconsistent.My personal view is that we should remove that subclause entirely:
a.swap(b)
equivalence in the corresponding table row so thatnoexcept
is the same.The text was updated successfully, but these errors were encountered: