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

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.

Return Value

true if the iterators refer to different positions

Parameters

Name

Description

lhs

left‐hand iterator

rhs

right‐hand iterator

Created with MrDocs