std::binary_function deprecated in C++11 and removed in C++17
neoblizz opened this issue · comments
Muhammad Osama commented
- Reference: cppreference.com
- Used here: https://github.com/moderngpu/moderngpu/blob/master/src/moderngpu/operators.hxx#L48-L124
- Solution: I believe we just removed the
std::binary_function
inheritance.
This problem shows up when I try and compile moderngpu
within my library while relying heavily on C++17. It may be due to how I am linking things. The system is using MSVC, CUDA 11.5.1, Windows.
@seanbaxter if you can give me permission to modify the project and create a new release with these changes, maybe I can also bump the version number.