This program illustrates a simple priority queue of class objects, in which the priority has been defined by overloading "operator>" and using this in conjuction with the built-in functor template class "greater". Press Enter to continue ... Priorities: Mail arrives Phone rings Knock is heard on door Fire! Press Enter to continue ...