
17 Feb
2012
17 Feb
'12
10:35 a.m.
The Boost heap library (at least binomial and fibonacci heaps) requires a default constructor of its comparator in order to call 'pop()' on a heap.
I ran into this because I was trying to use a std::binary_negate<> wrapper around another comparator: this has no default constructor. So it's pretty easy to work around; I just have to provide a custom version of binary_negate.
However, is this intentional? Should it be fixed?
this should be fixed (not sure if it will make it into 1.49, as it is supposed to be released in a few days ... cheers, tim