liteide
liteide copied to clipboard
Convert std::mem_fun_ref and std::ptr_fun into expressions compatible with C++17
Currently the build of LiteIdeX on FreeBSD 14 is broken. The reason is that the system compiler Clang was updated to version 16 and with this (apparently) the deprecation of some std-functions became final. I'm not a C++ guru and I've made up the solution with the help of Google - if it makes sense to you, it would be nice to commit this or a better fix for the problem. I have successfully tested the fix on FreeBSD 14, but can't comment on backwards compatibility with older C++ compilers.