Deprecated features of <functional>

Jonathan Wakely jwakely.gcc@gmail.com
Mon Sep 30 22:32:00 GMT 2013


On 30 September 2013 22:55, Morwenn Ed wrote:
> std::unary_function and std::binary_function are used to implement other parts of libstdc++.
> They could be replaced by std::function in c++11 but std::function is not c++98...

std::function is a call wrapper, but unary_function and
binary_function only define typedefs, they are not call wrappers, and
can't be replaced by std::function.



More information about the Libstdc++ mailing list