BloombergLP::bsltf::operator==

Return whether sentinel and iterator refer to the same element.

Synopsis

Declared in <bsltf_testvaluesarray.h>

template<class VALUE>
bool
operator==(
    TestValuesArraySentinel<VALUE> const& lhs,
    TestValuesArrayIterator<VALUE> const& rhs);

Description

Return true if the specified lhs and the specified rhs refer to the same element, and false otherwise. The behavior is undefined unless lhs and rhs are comparable.

Return Value

true if both refer to the same element

Parameters

NameDescription
lhssentinel to compare
rhsiterator to compare