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.
Declared in <bslstl_string.h>
template<
class CHAR_TYPE,
class CHAR_TRAITS,
class ALLOCATOR = allocator<CHAR_TYPE>>
requires bsl::IsStdAllocator_v<ALLOCATOR>
basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>(
basic_string_view<CHAR_TYPE, CHAR_TRAITS>,
ALLOCATOR) -> basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>;