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.

Synopsis

Declared in <bslstl_vector.h>

VALUE_TYPE const*
data() const noexcept;

Return Value

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

Created with MrDocs