来源:https://stackoverflow.com/questions/34477311/c-data-structure-that-automatically-sort-objects-by-the-value-of-a-member 标签 c++ stl priority-queue