How to change comparison function on a priority queue with boost library? I have a struct like this :
struct decreasingOrderMyType
{
bool operator() (const MyType & lhs, const MyType & rhs) const
{
return lhs.value > rhs.value;
}
};
and i would like use it to compare my elements.
thanks!