absl::FixedArray::operator[]

Returns a reference to the ith element of the fixed array.

Synopsis

Declared in <absl/container/fixed_array.h>

reference
operator[](size_type i);

Description

REQUIRES: 0 <= i < size()

Return Value

A reference to the ith element.

Parameters

NameDescription
iThe index of the element to access.