[#bsl-basic_string-0faf-2constructor-00e] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string]::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(ALLOCATOR const& basicAllocator) noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#