[#bsl-basic_string-0faf-2constructor-0f] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string]::basic_string :relfileprefix: ../../ :mrdocs: Create a string that has the same value as the specified `original` string. Use the allocator returned by 'bsl::allocator_traits<ALLOCATOR>:: select_on_container_copy_construction(original.get_allocator())' to supply memory. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- basic_string(xref:bsl/basic_string-0faf.adoc[basic_string] const& original); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#