bsl::basic_string::data

Return a pointer to the character buffer of this string.

Synopses

Declared in <bslstl_string.h>

Return a pointer to the character buffer of this string.

CHAR_TYPE*
data() noexcept;
» more...

Return a pointer to the character buffer of this string.

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

Return Value

pointer to the character buffer of this string