Return a reference providing non-modifiable access to the element having the highest priority in this priority_queue object. In effect, performs return c.front(). The behavior is undefined if the priority queue is empty.
Declared in <bslstl_priorityqueue.h>
priority_queue<VALUE, CONTAINER, COMPARATOR>::const_reference
top() const;