2 ms·
Probably operator() and passing classes that have this operator implemented around. For me it isn't better than function pointers, also because of method - fun
by ajuc 16y ago
Probably operator() and passing classes that have this operator implemented around.
For me it isn't better than function pointers, also because of method - function distinction we have 2 different incompatibile kinds of functions.
- eru 16y agoThe operator() does not bring you any closer to functional programming. It's just syntactic sugar, maybe even nice sugar.