I've implemented an example
here. Of course that uses a lot of dereferencing access
"->"
instead of normal struct access
"."
, but that's just C for you. In C++, object pointers are rarely used – objects usually are either references which allow method calls with
"."
, or are values that do not support polymorphic calls since their exact type is known at compile time.