[C++17] Remove inheritance from std::binary_function, std::unary_function.