bsl::list<VALUE>

Deduce the template parameter VALUE from the value_type of the intializer_list supplied to the constructor of list. This deduction guide does not participate unless the specified ALLOC is convertible to bsl::allocator<CHAR_TYPE>.

Synopsis

Declared in <bslstl_list.h>

template<
    class VALUE,
    class ALLOC,
    class DEFAULT_ALLOCATOR = bsl::allocator<VALUE>>
requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR>
list<VALUE>(
    std::initializer_list<VALUE>,
    ALLOC*) -> list<VALUE>;