absl::InlinedVector::operator[]

Overload of InlinedVector::operator that returns a const_reference to the ith element of the inlined vector.

Synopsis

Declared in <absl/container/inlined_vector.h>

const_reference
operator[](size_type i) const;

Return Value

A const_reference to the ith element.

Parameters

NameDescription
iThe index of the element to access.