Return whether two input iterators refer to the same position.

Synopsis

Declared in <bsltf_inputiterator.h>

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

Description

Return true if the specified lhs and rhs refer to the same TYPE object and false othersise.

Return Value

true if both iterators refer to the same object

Parameters

Name

Description

lhs

left‐hand iterator

rhs

right‐hand iterator

Created with MrDocs