deprecated function in CacheTools
carmeloevoli opened this issue · comments
Carmelo Evoli commented
CacheTools.h:30:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]
CacheTools.h:40:33: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations]
warning found both for Mac and GNU compliers, we should find an alternative at some point.
Andrej Dundovic commented
These can be simply removed [1] and the code will continue to work in C++17.