implimenting interface function by inheriting from other class

Alexey invalid at email.address
Sat Aug 21 23:14:14 UTC 2021


> I want `this` inside of C1::coolFunc to return C2 if called as 
> C2::coolFunc

so executing `cast(C2) this !is null` inside of C1::coolFunc 
would work


More information about the Digitalmars-d-learn mailing list