for user defined struct, as I understand, it\'s easy. Just overload the operator <. However, for int/float etc.., do I really need to overload operator < for int?
Here is
Use std::greater() as the comparator(to all of make_heap, push_heap, pop_heap). The () are important - std::greater is a functor class not a function, so you need an instance of it.