Re:Template Metaprogramming with Modern C++: templates in depth
by cbsmith on Monday September 29, 2014 @12:15PM
(#8383543)
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.
C++11 lambdas have this quality of "a type for every function" as well.