Object "A" inherited object "B". And you need to return the object link "B".
Steven Schveighoffer
schveiguy at gmail.com
Thu Feb 6 15:22:59 UTC 2020
On 2/6/20 10:11 AM, Steven Schveighoffer wrote
> b.step(); // virtual call, calls B.step
I meant, calls A.step;
-Steve
More information about the Digitalmars-d-learn
mailing list