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

Synopsis

Declared in <bslstl_deque.h>

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

Created with MrDocs