Arm interview question

How would you code a priority queue in C++?