Syntax:
#include <set> void swap( multiset& from );
The swap() function exchanges the elements of the current multiset with those of from. This function operates in constant time.