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

Name

Description

i

The index of the element to access.

Created with MrDocs