Deduce the template parameter VALUE from the value_type of the iterators supplied to the constructor of priority_queue. Deduce the template parameters CONTAINER and COMPARATOR from the other parameters passed to the constructor.

Synopsis

Declared in <bslstl_priorityqueue.h>

template<
    class INPUT_ITERATOR,
    class COMPARATOR,
    class CONTAINER,
    class VALUE = BloombergLP::bslstl::IteratorUtil::IterVal_t<INPUT_ITERATOR>>
priority_queue<VALUE, CONTAINER, COMPARATOR>(
    INPUT_ITERATOR,
    INPUT_ITERATOR,
    COMPARATOR,
    CONTAINER) → priority_queue<VALUE, CONTAINER, COMPARATOR>;

Created with MrDocs