A different vector op

bearophile bearophileHUGS at lycos.com
Wed Jul 6 03:29:34 PDT 2011


Don:

> An interesting use case:
> 
> void main()
> {
>     cdouble[100] foos;
>     foos[].re = 5.0;
> }

I don't often have to update arrays of complex numbers, more often I have to set or update a single field of an array of structs.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list