3 ms·
But you don't get much by wrapping it in that class and making a functor out of it, unless you want to manage state. Either way, in C++, it is a slim line betwe
by cbsmith 12y ago
But you don't get much by wrapping it in that class and making a functor out of it, unless you want to manage state. Either way, in C++, it is a slim line between the two.
C++11 lambdas have this quality of "a type for every function" as well.