[#bsl-basic_string-0faf-2constructor-09e] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string]::basic_string :relfileprefix: ../../ :mrdocs: A string cannot be constructed from a null pointer. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- basic_string(xref:bsl/nullptr_t-08.adoc[bsl::nullptr_t] unused) = delete; ---- == Description A string cannot be constructed from a `nullptr` or from a literal `0`. == Parameters [cols="1,4"] |=== | Name| Description | *unused* | unused; this constructor is deleted |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#