Deduce the template parameter CHAR_TYPE from the parameters passed to the constructor of basic_string. This deduction guide does not participate unless the specified ALLOC is convertible to bsl::allocator<CHAR_TYPE>.
Synopsis
Declared in <bslstl_string.h>
template<
class CHAR_TYPE,
class ALLOC,
class SZ,
class DEFAULT_ALLOCATOR = bsl::allocator<CHAR_TYPE>>
requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR> && !bsl::is_pointer_v<SZ>
basic_string<CHAR_TYPE>(
CHAR_TYPE const*,
SZ,
ALLOC*) → basic_string<CHAR_TYPE>;
Created with MrDocs