Overloading static methods

Daniel Murphy yebblies at nospamgmail.com
Tue Aug 30 09:29:50 PDT 2011


"Steven Schveighoffer" <schveiguy at yahoo.com> wrote in message
> struct S2
> {
>    static void foo();
>    alias foo this.foo;
> }

or
alias typeof(this).foo foo; 




More information about the Digitalmars-d mailing list