std.complex

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sat Nov 23 01:42:17 PST 2013


On Saturday, 23 November 2013 at 08:18:35 UTC, Daniel Murphy 
wrote:
> They are not deprecated yet, but it has been 'planned' for a 
> long time.
> It's one of those things where not deprecating them doesn't 
> hurt anyone, so
> it isn't high priority.

Must say that, whatever the behind-the-scenes of the 
implementation, it seems a shame to lose the nice z = x + y*i 
notation.

OTOH I guess that could lead to ambiguous code, e.g.

     int i = 4;
     complex z = x + y*i;     // what does i mean here?


More information about the Digitalmars-d mailing list