absl::FixedArray::operator[]

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

Synopsis

Declared in <absl/container/fixed_array.h>

const_reference
operator[](size_type i) const;

Description

REQUIRES: 0 <= i < size()

Return Value

A const reference to the ith element.

Parameters

NameDescription
iThe index of the element to access.