stl:multimap:clear

C++ Reference

clear

Syntax:

    #include <map>
    void clear();

The function clear() deletes all of the elements in the multimap. clear() runs in linear time.

Related Topics: erase