BloombergLP::bslstl::operator==

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

NameDescription
lhsfirst iterator to compare
rhssecond iterator to compare