|
deque::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 deque container.Notice that, unlike member deque::back, which returns a reference to the element preceding this one, this function returns a random access iterator. ParametersnoneReturn ValueAn iterator to the element past the end of the sequence.Both iterator and const_iterator are member types. In the deque class template, these are random access iterators. Example
Output:
ComplexityConstant.See also
|