absl::FixedArray::at

Bounds-checked access. Returns a const reference to the ith element of the fixed array, or throws std::out_of_range.

Synopsis

Declared in <absl/container/fixed_array.h>

const_reference
at(size_type i) const;

Return Value

A const reference to the ith element.

Parameters

NameDescription
iThe index of the element to access.