C++容器 priority_queue,堆的实现

priority_queue是C++中的优先级队列,也是堆的实现,默认为大顶堆,比较器默认为less<T>.

原文地址:https://www.cnblogs.com/wanmeishenghuo/p/13549910.html