C++ Language/Std/Stl/CallableObjects/Functor
A "functor" is any object defined to have a custom overload implementation of the function-call-operator (operator()
).
A functor object can be assigned to any callable-object whose signature matches.
Additional information about functors (includes interactive examples)