|
map::endpublic member function
iterator end (); const_iterator end () const; Return iterator to end Returns an iterator referring to the past-the-end element in the map container.ParametersnoneReturn ValueAn iterator to the element past the end of the container.Both iterator and const_iterator are member types. In the map class template, these are bidirectional iterators. Dereferencing this iterator accesses the element's value, which is of type pair<const Key,T>. Example
Output:
ComplexityConstant.See also
|