Return true if lhs and rhs have the same value, and false otherwise.

Synopsis

Declared in <bdlc_indexclerk.h>

bool
operator==(
    IndexClerkIter const& lhs,
    IndexClerkIter const& rhs);

Description

Two iterators have the same value if they refer to the same element of the same container or if they both have the end iterator value for the same container. The behavior is undefined unless lhs and rhs refer to the same container and are non‐singular (i.e., are not default‐constructed or copies of singular iterators).

Return Value

true if equal, and false otherwise

Parameters

Name

Description

lhs

left‐hand‐side iterator

rhs

right‐hand‐side iterator

Created with MrDocs