Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

map::end

Returns the past-the-end iterator.

const_iterator end( ) const;

iterator end( );

The past-the-end iterator. If the map is empty, then map::end() == map::begin().

end is used to test whether an iterator has passed the end of its map.

The value returned by end should not be dereferenced.

For a code example, see map::find.

Header: <map>

Namespace: std

Show:
© 2015 Microsoft