This question already has an answer here:
- C++ Functors - and their uses 15 answers
As mentioned in the title, but more specifically, I cannot find what is the unequaled purpose of 'functor' over other idiomatic features like constructor, lambda, or function pointer in C++.
Could anyone help me with some antithetic examples?
Aucun commentaire:
Enregistrer un commentaire