priority_queue::push

void push(const T& x);

The member function inserts an element with value x at the end of the controlled sequence, then reorders it.

See the related sample program.