Congratulations to the D Team!

Christophe Travert travert at phare.normalesup.org
Thu Jul 12 00:18:51 PDT 2012


"David Piepgrass" , dans le message (digitalmars.D:172007), a écrit :
> @mutating class B : A
> {
>     private int _x2;
>     public @property override x() { return _x2++; }
> }

A fun() pure;

You can't cast the result of fun to immutable, because it may be a B 
instance.


More information about the Digitalmars-d mailing list