Create a priority queue from range using allocator.
Declared in <bslstl_priorityqueue.h>
template<
class t_RANGE,
class t_ALLOCATOR>
priority_queue(
std::from_range_t unused,
t_RANGE&& range,
t_ALLOCATOR const& allocator)
requires bsl::uses_allocator<CONTAINER,
t_ALLOCATOR>::value;
Same as the preceding overload.
| Name | Description |
|---|---|
| unused | tag selecting the from-range constructor overload |
| range | input range of elements to insert |
| allocator | allocator used to supply memory |