Access derived type in baseclass static function template

Arafel via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 2 07:23:26 PDT 2017


> 
> What you are looking for is virtual static methods, and D doesn't have 
> those. I don't know if there's a way to make it work with existing 
> features.
> 

Well, there are interesting things to do:

https://dpaste.dzfl.pl/ed826ae21473

I don't know if that's what one would call "virtual static", but I'd say 
it comes close...


More information about the Digitalmars-d-learn mailing list