[#bsl-basic_string-074] = 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`, `TRAITS`, and `ALLOCATOR` from the corresponding template parameters of the `bsl::basic_string` passed to the constructor of `basic_string`. This deduction guide does not participate unless the specified `ALLOC` is convertible to `ALLOCATOR`. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class CHAR_TYPE, class CHAR_TRAITS, class ALLOCATOR, class ALLOC> requires bsl::is_convertible_v<ALLOC, ALLOCATOR> xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>]( xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>], ALLOC) -> xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>]; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#