26 Containers library [containers]

26.4 Associative containers [associative]

26.4.6 Class template set [set]

26.4.6.3 set specialized algorithms [set.special]

template <class Key, class Compare, class Allocator> void swap(set<Key, Compare, Allocator>& x, set<Key, Compare, Allocator>& y) noexcept(noexcept(x.swap(y)));

Effects: As if by x.swap(y).