4 ms·
> they have first class functions No it doesn't. C++ has function pointers, and you can make functors objects. But that doesn't make first class functions at a
by Raphael_Amiard 17y ago
> they have first class functions
No it doesn't. C++ has function pointers, and you can make functors objects. But that doesn't make first class functions at all. Thinking in terms of higher order functions in C++ is just a different sort of pain, though it's admiteddly usefull sometimes. But you better like making template functors then.