Return true if lhs and rhs refer to the same position.
Declared in <bslstl_treeiterator.h>
template<
class VALUE1,
class VALUE2,
class NODEPTR,
class DIFF>
bool
operator==(
TreeIterator<VALUE1, NODEPTR, DIFF> const& lhs,
TreeIterator<VALUE2, NODEPTR, DIFF> const& rhs);
Return true if the specified lhs and the specified rhs iterators have the same value and false otherwise. Two iterators have the same value if they refer to the same position in the same tree, or if both iterators are at an invalid position in the tree (i.e., the end of the tree, or the default constructed value).
true if lhs and rhs have the same value, and false otherwise
| Name | Description |
|---|---|
| lhs | first iterator to compare |
| rhs | second iterator to compare |