Return true if lhs and rhs point to the same element.
Synopsis
Declared in <bslalg_dequeiterator.h>
bool
operator==(
DequeIterator const& lhs,
DequeIterator const& rhs);
Description
Return true if the specified lhs iterator points to the same element in the same block as the specified rhs iterator, and false otherwise. The behavior is undefined unless lhs and rhs are iterators over the same deque. Note that this friend is a regular functon, not a function template, so there is no way to declare it outside the class in order to provide the definition.
Return Value
true if both iterators point to the same element, and false otherwise
Parameters
Name |
Description |
lhs |
first iterator to compare |
rhs |
second iterator to compare |
Created with MrDocs