4 ms·
> an object is a struct with associated functions. That's true, and if you add an “apply” operator (`operator ()`), then your thing becomes a “function object”
by tempodox 4y ago
> an object is a struct with associated functions.
That's true, and if you add an “apply” operator (`operator ()`), then your thing becomes a “function object” and your instance variables are the closure environment. quod erat demonstrandum.