[#bsl-basic_string-0e-operator_assign-0f] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0e.adoc[basic_string<wchar_t>]::operator= :relfileprefix: ../../ :mrdocs: Assign to this string the value of the specified `rhs` object, and return a reference providing modifiable access to this string. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_VIEW_LIKE_TYPE> xref:bsl/basic_string-0faf.adoc[basic_string<wchar_t>]& operator=(STRING_VIEW_LIKE_TYPE const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#