absl::InlinedVector::at

Returns a reference to the ith element of the inlined vector.

Synopsis

Declared in <absl/container/inlined_vector.h>

reference
at(size_type i);

Description

NOTE: if i is not within the required range of InlinedVector::at(...), in both debug and non-debug builds, std::out_of_range will be thrown.

Return Value

A reference to the ith element.

Parameters

NameDescription
iThe index of the element to access.