stl:multimap:swap

C++ Reference

swap

Syntax:

    #include <map>
    void swap( container& from );

The swap() function exchanges the elements of the current multimap with those of from. This function operates in constant time.