preparing for const, final, and invariant

Walter Bright newshound1 at digitalmars.com
Thu May 17 16:15:00 PDT 2007


Frank Benoit wrote:
> int[] g;
> void foo(in int[] a){
>     g = a.dup;    // allowed?
> }

Yes.



More information about the Digitalmars-d-announce mailing list