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