absl::InlinedVector::data

data overloads

Synopses

Declared in <absl/container/inlined_vector.h>

Returns a pointer to the elements of the inlined vector. This pointer can be used to access and modify the contained elements.

pointer
data() noexcept;
» more...

Overload of InlinedVector::data() that returns a const_pointer to the elements of the inlined vector. This pointer can be used to access but not modify the contained elements.

const_pointer
data() const noexcept;
» more...

Return Value

  • A pointer to the elements.
  • A const_pointer to the elements.