[#bsl-basic_string-0c7] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>] :relfileprefix: ../ :mrdocs: Deduce the template parameters `CHAR_TYPE` and `TRAITS` from the corresponding template parameters of the `bsl::basic_string_view` passed to the constructor of `basic_string`. Deduce the template parameter `ALLOCATOR` from the optional argument passed to the constructor. This deduction guide does not participate unless the specified `ALLOCATOR` meets the requirements of a standard allocator. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class CHAR_TYPE, class CHAR_TRAITS, class ALLOCATOR = xref:bsl/allocator-0df.adoc[allocator<CHAR_TYPE>]> requires bsl::IsStdAllocator_v<ALLOCATOR> xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>]( basic_string_view<CHAR_TYPE, CHAR_TRAITS>, ALLOCATOR) -> xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>]; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#