std::priority_queue constructor compiles with std::less but returns an error with std::greater

后端 未结 0 1061
夕颜
夕颜 2020-12-03 07:15

I\'ve learned that constructing std::priority_queue can be done using two iterators and a comparator. My below code outlines a simple example of constructing a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题