access enclosing type from shared static this()

David d at dav1d.de
Wed Sep 19 12:51:20 PDT 2012


> If not possible, just getting the name of the enclosing struct would
> help a lot!
>
> -Øivind

typeof(this).stringof

This should do it




More information about the Digitalmars-d-learn mailing list