Would the compare function be a part of the class that is being compared? If so, could I just write my own comparison function for my Instruction class and use it in the STL priority queue? How would the declaration for this function look in my header file? Would it be similar to an operator? Sorry if these questions seem obvious but I haven't been in a regular programming class in 2 quarters and all my old notes on this kind of thing are 4 hours away and I have no prof to ask. I tried figuring it out looking at the STL documentation but I just got more confused I think haha.