table of contents
other versions
- wheezy 4.7.2-5
__gnu_pbds::priority_queue< _Tv, Cmp_Fn, Tag, _Alloc >(3cxx) | __gnu_pbds::priority_queue< _Tv, Cmp_Fn, Tag, _Alloc >(3cxx) |
NAME¶
__gnu_pbds::priority_queue< _Tv, Cmp_Fn, Tag, _Alloc > -SYNOPSIS¶
Inherits type< _Tv, Cmp_Fn, _Alloc, Tag >.Public Types¶
typedef _Alloc allocator_type
Public Member Functions¶
priority_queue (const cmp_fn &r_cmp_fn)
Detailed Description¶
template<typename _Tv, typename Cmp_Fn = std::less<_Tv>, typename Tag = pairing_heap_tag, typename _Alloc = std::allocator<char>>class __gnu_pbds::priority_queue< _Tv, Cmp_Fn, Tag, _Alloc >¶
A priority queue composed of one specific heap policy. Template Parameters:_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 83 of file priority_queue.hpp.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.Sun Jan 6 2013 | libstdc++ |