Problem with const correctness

bearophile bearophileHUGS at lycos.com
Fri Dec 7 07:18:00 PST 2012


> struct Array(T) {
>      this(T items[]...) {
>          this._array = items;
>      }


For a D design bug, I think those items don't get copied. So be 
careful and test the code well.

Bye,
bearophile


More information about the Digitalmars-d mailing list