Return whether the specified iterators refer to the same tree node.

Synopsis

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);
Note

This function is a hidden friend of TreeIterator, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if the iterators refer to the same tree node, and false otherwise

Parameters

Name

Description

lhs

first iterator to compare

rhs

second iterator to compare

Created with MrDocs