Share via


multiset::end

Returns the past-the-end iterator.

const_iterator end( ) const;

iterator end( );

Return Value

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

Remarks

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

The value returned by end should not be dereferenced.

For a code example, see multiset::find.

Requirements

Header: <set>

Namespace: std

See Also

Reference

multiset Class

Standard Template Library