isEmpty method

bool isEmpty()

Test if the priority queue is logically empty. @return true if empty, false otherwise.

Implementation

bool isEmpty() {
  return _size == 0;
}