opCall()
Let’s move onto using the opCall() function to call objects as functions.
We'll cover the following...
opCall()
to call objects as functions
The parentheses around the parameter list when calling functions are operators as well. You have already seen how static opCall()
makes it possible to use the name of the type as a function. static
...