bsl::queue<CONTAINER::value_type, CONTAINER>

Deduce VALUE and CONTAINER from container and allocator arguments.

Synopsis

Declared in <bslstl_queue.h>

template<
    class CONTAINER,
    class ALLOCATOR>
requires bsl::uses_allocator_v<CONTAINER, ALLOCATOR>
queue<CONTAINER::value_type, CONTAINER>(
    CONTAINER,
    ALLOCATOR) -> queue<CONTAINER::value_type, CONTAINER>;

Description

Deduce the template parameters VALUE and CONTAINER from the parameters supplied to the constructor of queue. This deduction guide does not participate unless the supplied allocator is convertible to the underlying container's allocator_type.