Talk:cpp/utility/pair/swap

The page currently mentions that « This function does not participate in overload resolution unless is  » since C++17. I just checked the standard, and could only find such a requirement for the free overload of. There is a requirement that «  shall be swappable with ([swappable.requirements]) and  shall be swappable with  » for the member function, but I don't think that it excludes the member function from the overload set.

Morwenn (talk)
 * Did we get this confused with the free swap?...we did. T. Canens (talk) 14:11, 29 September 2017 (PDT)