Function object
Programming construct / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Function object?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
This article is about the computer programming concept of function objects. For functors in mathematics, see Functor. For the related concept in functional programming, see Functor (functional programming).
In computer programming, a function object[lower-alpha 1] is a construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax (a function parameter that can also be a function). In some languages, particularly C++, function objects are often called functors (not related to the functional programming concept).
This article needs additional citations for verification. (February 2009) |