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

Synopsis

Declared in <bslstl_list.h>

template<
    class SIZE_TYPE,
    class VALUE,
    class ALLOC,
    class DEFAULT_ALLOCATOR = bsl::allocator<VALUE>>
requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR> && bsl::is_convertible_v<
                 SIZE_TYPE,
                 typename bsl::allocator_traits<DEFAULT_ALLOCATOR>::size_type>
list<VALUE>(
    SIZE_TYPE,
    VALUE,
    ALLOC*) → list<VALUE>;

Created with MrDocs