absl::InlinedVector::at

Overload of InlinedVector::at(...) that returns a const_reference to the ith element of the inlined vector.

Synopsis

Declared in <absl/container/inlined_vector.h>

const_reference
at(size_type i) const;

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 const_reference to the ith element.

Parameters

NameDescription
iThe index of the element to access.