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;

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;

Return Value

  • A pointer to the elements.

  • A const_pointer to the elements.

Created with MrDocs