Return true if lhs and rhs point to the same element.
Declared in <bslalg_dequeiterator.h>
bool
operator==(
DequeIterator const& lhs,
DequeIterator const& rhs);
This function is a hidden friend of DequeIterator, declared only inside that class: it can be found only through argument-dependent lookup.
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.
true if both iterators point to the same element, and false otherwise
| Name | Description |
|---|---|
| lhs | first iterator to compare |
| rhs | second iterator to compare |