bsl::vectorBase::data

Return the address of the 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*
data() noexcept;

Return Value

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