libstdc++
|
Inherits detail::container_base_dispatch::type.
Public Member Functions | |
priority_queue (const cmp_fn &r_cmp_fn) | |
priority_queue (const priority_queue &other) | |
template<typename It > | |
priority_queue (It first_it, It last_it) | |
template<typename It > | |
priority_queue (It first_it, It last_it, const cmp_fn &r_cmp_fn) | |
priority_queue & | operator= (const priority_queue &other) |
void | swap (priority_queue &other) |
A priority queue composed of one specific heap policy.
_Tv | Value type. |
Cmp_Fn | Comparison functor. |
Tag | Instantiating data structure type, see container_tag. |
_Alloc | Allocator type. |
Base is dispatched at compile time via Tag, from the following choices: binary_heap_tag, binomial_heap_tag, pairing_heap_tag, rc_binomial_heap_tag, thin_heap_tag
Base choices are: detail::binary_heap, detail::binomial_heap, detail::pairing_heap, detail::rc_binomial_heap, detail::thin_heap.
Definition at line 84 of file priority_queue.hpp.
|
inline |
Constructor taking some policy objects. r_cmp_fn will be copied by the Cmp_Fn object of the container object.
Definition at line 116 of file priority_queue.hpp.
|
inline |
Constructor taking __iterators to a range of value_types. The value_types between first_it and last_it will be inserted into the container object.
Definition at line 122 of file priority_queue.hpp.
|
inline |
Constructor taking __iterators to a range of value_types and some policy objects The value_types between first_it and last_it will be inserted into the container object. r_cmp_fn will be copied by the cmp_fn object of the container object.
Definition at line 130 of file priority_queue.hpp.