container
container copied to clipboard
Compilation fails if custom key comparison is used
The company I work for - wants to migrate to newer version of boost (1.78 -> 1.80+), and next change (https://github.com/boostorg/container/commit/ccf13f6770409f22812fd9839314c97653e11d84#diff-0034e7b487413a758657a08287f73eaab77da00e768e8db209ed389cc59ad7a0R1226-R1270) - breaks the compilation:
- in previous version (1.78): all calls to
findhaveKeyNodeCompare(key_comp())as a parameter - in newer version (1.80+): all calls to
findhaveKeyNodeCompare()as a parameter
The code has the custom collator, which must not have default constructor.