23 Containers library [containers]

23.3 Sequence containers [sequences]

23.3.5 Class template list [list]

23.3.5.6 list specialized algorithms [list.special]

template <class T, class Allocator> void swap(list<T,Allocator>& x, list<T,Allocator>& y);

Effects:

x.swap(y);