map::end

Returns the past-the-end iterator.

const_iterator end( ) const;

iterator end( );

Return Value

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

Remarks

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.

Requirements

Header: <map>

Namespace: std

See Also

Reference

map Class

Standard Template Library