absl::AnySpan::IteratorBase::operator-

Returns the distance to another iterator.

Synopsis

Declared in <absl/types/any_span.h>

difference_type
operator-(Iter const& other) const;

Return Value

The number of positions from other to this iterator.

Parameters

NameDescription
otherThe iterator to measure against.