Warning: explicit element-wise assignment (this.vector)[] = vec.vector[cast(ulong)0..cast(ulong)dimension]

bearophile bearophileHUGS at lycos.com
Mon Jun 24 15:12:18 PDT 2013


Ali Çehreli:

> So, the following two have the same effect:
>
>     vector = vec.vector[0..dimension];
>
>     vector[] = vec.vector[0..dimension];

The first syntax will be deprecated and later it will become an 
error.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list