Skip to content

[c++] Remove bind2nd

Steffen Müthing requested to merge bugfix/remove-bind2nd into master

std::bind2nd has been removed in C++17, and libc++ as shipped in LLVM 6 does not contain it anymore, causing compile errors.

Instead of replacing it with std::bind, this fix removes it entirely and goes down the much simpler path of using a generic lambda.

Edited by Steffen Müthing

Merge request reports