Callable object
Appearance
A callable object, in computer programming, is any object that can be called like a function.
In different languages
In C++
- pointer to function;
- pointer to member function;
- functor;
- lambda expression.
std::function
is a template class that can hold any callable object that matches its signature.