C++ Reference: class PriorityQueueWithRestrictedPush
Note: This documentation is automatically generated.
Method | |
---|---|
Clear | Return type: Clears the queue. |
IsEmpty | Return type: Is the queue empty? |
Pop | Return type: Returns the element with highest priority and remove it from the queue. IsEmpty() must be false, this condition is DCHECKed. |
PriorityQueueWithRestrictedPush | |
Push | Return type: Arguments: Push a new element in the queue. Its priority must be greater or equal to the highest priority present in the queue, minus one. This condition is DCHECKed, and violating it yields erroneous queue behavior in NDEBUG mode. |