Deduce the template parameters VALUE, COMPARATOR, and ALLOCATOR from the parameters supplied to the constructor of priority_queue. This deduction guide does not participate if the t_ALLOCATOR parameter does not meet the requirements for a standard allocator or the t_COMPARATOR parameter meets the requirements for a standard allocator.
Synopsis
Declared in <bslstl_priorityqueue.h>
template<
ranges::input_range t_RANGE,
class t_COMPARATOR,
class t_ALLOCATOR,
class t_TYPE = ranges::range_value_t<t_RANGE>>
requires (!IsStdAllocator_v<t_COMPARATOR> && IsStdAllocator_v<t_ALLOCATOR>)
priority_queue<t_TYPE, vector<t_TYPE, t_ALLOCATOR>, t_COMPARATOR>(
std::from_range_t,
t_RANGE&&,
t_COMPARATOR,
t_ALLOCATOR) → priority_queue<t_TYPE, vector<t_TYPE, t_ALLOCATOR>, t_COMPARATOR>;
Created with MrDocs