alias this on module

Jonathan Marler via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 30 16:35:43 PDT 2017


Any reason why "alias this" doesn't work at the module level?  If 
I recall correctly, a module is really just a "class" under the 
hood, but when I tried to use it I got:

Error: alias this can only be a member of aggregate, not module 
<module-name>



More information about the Digitalmars-d mailing list