Return true if lhs and rhs refer to the same element.

Synopsis

Declared in <bsltf_testvaluesarray.h>

template<class VALUE>
bool
operator==(
    TestValuesArrayIterator<VALUE> const& lhs,
    TestValuesArraySentinel<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

Name

Description

lhs

iterator to compare

rhs

sentinel to compare

Created with MrDocs