

template bool operator bool operator = ( HeapType const & rhs ) const Equivalent comparison Returns: True, if both heap data structures are equivalent.template bool operator >= ( HeapType const & rhs ) const.Requirement: the value_compare object of both heaps must match. Priority queues push( ) an object onto a priorityqueue, that object is sorted into the queue according to a function or function object (you can allow the. Returns: Element-wise comparison of heap data structures


Template class priority_queue Įffects: Returns true, if the priority queue contains no elements.Įffects: Returns the number of elements contained in the priority queue.Įffects: Returns the maximum number of elements the priority queue can contain.Įffects: Removes all elements from the priority queue.
