begin

Syntax:

    #include <map>
    iterator begin();
    const_iterator begin() const;

The function begin() returns an iterator to the first element of the multimap.

begin() should run in constant time.

Related Topics: end, rbegin, rend