remove use of deprecated std::{binary,unary}_function
std::binary_function
and std::unary_function
are deprecated in C++14, and have been removed in C++17.
std::binary_function
and std::unary_function
are deprecated in C++14, and have been removed in C++17.