In C++17 several classes, types, and functions from the <functional> header are no longer available.
In this change we add first clang-tidy checks for occurrences of
- std::unary_function
- std::binary_function
- std::ptr_fun
- std::mem_fun
As there are several more deprecated types in <functional>, this check will be extended in the future.
Missing full stop at the end of the sentence.
Why should this modernize check be limited to <functional>? Just like we have a "deprecated headers" check, perhaps this should be a "deprecated APIs" check?