bsl::priority_queue<CONTAINER::value_type, CONTAINER, COMPARATOR>

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

Synopsis

Declared in <bslstl_priorityqueue.h>

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