D needs...

Namespace via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu May 14 06:34:59 PDT 2015


On Thursday, 14 May 2015 at 13:26:17 UTC, Jack Applegame wrote:
> What about mutable references to immutable/shared/const classes?
>
> class A {}
>
> immutable(A)[int] aa;
> aa[1] = new immutable A;    // doesn't compile
>
> Rebindable!(immutable(A))[int]; // looks like ugly shamefull 
> workaround.

You can add it if you want, the site is pure html & css. I'm 
currently busy and it would take a while.


More information about the Digitalmars-d-announce mailing list