bsl::vector<VALUE_TYPE*, ALLOCATOR>::data

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;
» more...

Return a pointer to the contiguous element storage.

VALUE_TYPE const**
data() const noexcept;
» more...

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