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

Name

Description

i

Offset from the current position.

Created with MrDocs