Return whether the specified iterators refer to the same position.

Synopsis

Declared in <bsltf_inputiterator.h>

template<class TYPE2>
bool
operator==(
    InputIterator<TYPE2> const& lhs,
    InputIterator<TYPE2> const& rhs);
Note

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

Description

Return true if the specified iterators refer to the same underlying position, and false otherwise.

Return Value

true if both iterators refer to the same position

Parameters

Name

Description

lhs

left‐hand iterator

rhs

right‐hand iterator

Created with MrDocs