Closed stepanm-aparavi closed 3 weeks ago
I just reverted KeyNodeCompare()
to KeyNodeCompare(key_comp())
in tree.hpp@1.82.0 wherever it was possible by comparison against tree.hpp@1.78.0 (see fix-tree.patch). It compiles. I continue testing and not hitting any run-time issues so far.
Could you verify the patch, is it is possible, or advise anything else? Thanks
Thanks for the report. This is the same issue that was recently fixed:
Hi folks,
I am trying to upgrade boost from 1.78.0 to 1.82.0. A blocking change is taking place, which breaks our compilation.
KeyNodeCompare
, when it is initializing for passing to iterators, stops taking a comparator of the container and becomes requiring a default constructor. It breaks what we rely on, askey_compare
which we initializing the container with, is based on some complicated implementation, that must be shared among allkey_compare
-s within the container context.Could you give any advise, how to solve that? Thanks
boost/container/detail/tree.hpp@1.78.0
boost/container/detail/tree.hpp@1.82.0