23 Containers library [containers]

23.3 Sequence containers [sequences]

23.3.6 Class template vector [vector]

23.3.6.6 vector specialized algorithms [vector.special]

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

Effects:

x.swap(y);