2 ms·
If you think of a C++ functor as a class, i.e. a factory for function objects, it makes a little bit more sense. (However, that is not the common usage of the
by wozer 16y ago
If you think of a C++ functor as a class, i.e. a factory for function objects, it makes a little bit more sense.
(However, that is not the common usage of the word in C++ world. For most C++ guys, "functor" and "function object" mean the exact same thing.)