data overloads

Synopses

Declared in <bslstl_vector.h>

Return the address of the modifiable first element in this vector, or a valid, but non‐dereferenceable pointer value if this vector is empty.

VALUE_TYPE*
data() noexcept;

Return the address of the non‐modifiable first element in this vector, or a valid, but non‐dereferenceable pointer value if this vector is empty.

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