|
list::endpublic member function
iterator end (); const_iterator end () const; Return iterator to end vReturns an iterator referring to the past-the-end element in the list container.ParametersnoneReturn ValueAn iterator to the element past the end of the sequence.Both iterator and const_iterator are member types. In the list class template, these are bidirectional iterators. Example
Output:
ComplexityConstant.See also
|