How can I make typeof(this) return the type of a calling derrived class from a function in a base class?

Lester via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 16 08:08:14 PDT 2017


Thanks for the responses guys :)
I ended up using a foo(this T) and it works!

Thanks again for your help.




More information about the Digitalmars-d-learn mailing list