absl::AnySpan::IteratorBase::operator[]

Accesses the element i positions from the current one.

Synopsis

Declared in <absl/types/any_span.h>

reference
operator[](difference_type i) const;

Return Value

A reference to the element at the offset position.

Parameters

NameDescription
iOffset from the current position.