07-21-2023, 10:08 PM
A picture is more than a thousand words :-P
[![cpp-objc][1]][1]
[1]:
The variable `greeter` in the function `main` of the Objective-C code is known as a *delegate*, which is no more than a C++ pointer to an object that implements a class of pure virtual functions.
[![cpp-objc][1]][1]
[1]:
The variable `greeter` in the function `main` of the Objective-C code is known as a *delegate*, which is no more than a C++ pointer to an object that implements a class of pure virtual functions.