bsl::list<VALUE>

Deduce VALUE from an initializer_list when an allocator pointer is given.

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>;

Description

This deduction guide does not participate unless the specified ALLOC is convertible to bsl::allocator<VALUE>.