is Expression, Type Identifier : TypeSpecialization

Trass3r un at known.com
Thu Jun 24 03:47:23 PDT 2010


>     class one { }
>     class two : one {  }
>    alias one ONE;
>     alias two TWO;
>    static if ( is(TWO T : ONE) )
>         writeln("test");
>
> Is this a bug, or am I doing it wrong?

If it works without the aliases this is another strange alias bug.


More information about the Digitalmars-d mailing list