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

Name

Description

index

Index of the element to access.

Created with MrDocs