Return a pointer to the contiguous element storage.

Synopses

Declared in <bslstl_vector.h>

Return a pointer to the contiguous element storage.

VALUE_TYPE**
data() noexcept;

Return a pointer to the contiguous element storage.

VALUE_TYPE const**
data() const noexcept;

Return Value

  • address of the modifiable first element, or a non‐dereferenceable pointer if empty

  • address of the non‐modifiable first element, or a non‐dereferenceable pointer if empty

Created with MrDocs