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

Assign to this string the value resulting from first clearing this string and then inserting (in order) each `CHAR&lowbar;TYPE` object in the specified `values` initializer list&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;wchar&lowbar;t&gt;]&
operator&equals;(std::initializer&lowbar;list&lt;wchar&lowbar;t&gt; values);
----


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