Deduce the template parameter VALUE from the value_type of the iterators 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 INPUT_ITERATOR,
    class ALLOC,
    class VALUE = BloombergLP::bslstl::IteratorUtil::IterVal_t<INPUT_ITERATOR>,
    class DEFAULT_ALLOCATOR = bsl::allocator<VALUE>>
requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR>
list<VALUE>(
    INPUT_ITERATOR,
    INPUT_ITERATOR,
    ALLOC*) → list<VALUE>;

Created with MrDocs