begin

Syntax:

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

The function begin() returns an iterator to the first element of the multiset. begin() should run in constant time.

Related Topics: end, rbegin, rend