erase [C++ Reference]
Keywords: stl,multimap,erase
Date: 2008-10-14T15:42:07-0700

[[erase]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## erase

Syntax:

        #include <map>
        void erase( iterator pos );
        void erase( iterator start, iterator end );
        size_type erase( const key_type& key );

The erase function() either erases the element at pos, erases the elements between start and end, or erases all elements that have the value of key.

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •