absl::operator==

Tests whether two iterators refer to the same position.

Synopsis

Declared in <absl/types/any_span.h>

bool
operator==(
    Iter const& a,
    Iter const& b);

NOTE

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

Return Value

true if a and b point to the same position.

Parameters

NameDescription
aThe left operand.
bThe right operand.