[#bsl-basic_string-0e-2constructor-0ae] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0e.adoc[basic_string<wchar_t>]::basic_string :relfileprefix: ../../ :mrdocs: Create an empty string. Optionally specify the `basicAllocator` used to supply memory. If `basicAllocator` is not specified, a default‐constructed allocator is used. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit basic_string(xref:bsl/allocator-0df.adoc[allocator<wchar_t>] const& basicAllocator) noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#