Return true if the specified sentinel and iterator refer to the same element, and false otherwise.

Synopsis

Declared in <bsltf_testvaluesarray.h>

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

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

Return Value

true if both refer to the same element

Parameters

Name

Description

lhs

sentinel to compare

rhs

iterator to compare

Created with MrDocs