[#bsl-basic_string-0ce-operator_assign-0c4e]
= xref:bsl.adoc[bsl]::xref:bsl/basic_string-0ce.adoc[basic&lowbar;string&lt;char16&lowbar;t&gt;]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assign to this string the value of the specified null&hyphen;terminated `rhs` string (of length `CHAR&lowbar;TRAITS&colon;&colon;length(characterString)`), and return a reference providing modifiable access to this string&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_string-0faf.adoc[basic&lowbar;string&lt;char16&lowbar;t&gt;]&
operator&equals;(char16&lowbar;t const* rhs);
----


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