Distinct "static" parent property contents for children

Timoses timosesu at gmail.com
Fri Nov 10 07:42:19 UTC 2017


On Thursday, 9 November 2017 at 14:34:10 UTC, Steven 
Schveighoffer wrote:
> On 11/9/17 7:34 AM, Timoses wrote:
>
>> 
>> I suppose this is what Adam suggested, correct?
>
> Yes, more or less. It's just an actual implementation vs. a 
> description in case it wasn't clear.
>
> [...]
>
> It's not much different from what Adam and I suggested. The 
> only thing you are missing is the ability to call the virtual 
> member without an instance. But if you name your functions 
> properly, and follow a convention, it will work for you.
>
> -Steve

Greatly elaborated! Thank you, Steve!

I hope the vtable stuff is gonna be mentioned in the lectures I'm 
currently watching : P.


More information about the Digitalmars-d-learn mailing list