Call Operator
Let's take a deeper dive into what function objects are.
We'll cover the following...
By overloading the function call operator, ()
, we can call objects like ordinary function objects that may or may not have arguments. These special objects are known as function objects or, wrongly, as functors.
The best feature of function objects is that they can have a ...