absl::AnySpan::operator[]

Returns a reference to the element at index.

Synopsis

Declared in <absl/types/any_span.h>

constexpr
reference
operator[](size_type index) const;

Return Value

A reference to the element at index.

Parameters

NameDescription
indexIndex of the element to access.