[#bsl-basic_string-0faf-data-00]
= xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic&lowbar;string]::data
:relfileprefix: ../../
:mrdocs:

Return a pointer to the character buffer of this string&period;

== Synopses

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

Return a pointer to the character buffer of this string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
CHAR&lowbar;TYPE*
xref:bsl/basic_string-0faf/data-0f.adoc[data]() noexcept;
----

[.small]#xref:bsl/basic_string-0faf/data-0f.adoc[_» more&period;&period;&period;_]#

Return a pointer to the character buffer of this string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
CHAR&lowbar;TYPE const*
xref:bsl/basic_string-0faf/data-04.adoc[data]() const noexcept;
----

[.small]#xref:bsl/basic_string-0faf/data-04.adoc[_» more&period;&period;&period;_]#

== Return Value

pointer to the character buffer of this string


[.small]#Created with https://www.mrdocs.com[MrDocs]#
