[#bsl-basic_string-07a] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, char_traits<CHAR_TYPE>, ALLOCATOR>] :relfileprefix: ../ :mrdocs: Deduce the template parameter `CHAR_TYPE` from the `value_type` of the iterators passed to 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 INPUT_ITER, class CHAR_TYPE = xref:BloombergLP/bslstl/IteratorUtil/IterVal_t.adoc[BloombergLP::bslstl::IteratorUtil::IterVal_t<INPUT_ITER>], class ALLOCATOR = xref:bsl/allocator-0df.adoc[bsl::allocator<CHAR_TYPE>]> requires bsl::IsStdAllocator_v<ALLOCATOR> xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, char_traits<CHAR_TYPE>, ALLOCATOR>]( INPUT_ITER, INPUT_ITER, ALLOCATOR) -> xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, char_traits<CHAR_TYPE>, ALLOCATOR>]; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#