When will the complex types be dumped?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Dec 7 09:50:20 PST 2009


Lars T. Kyllingstad wrote:
> The decision to dump the built-in complex and imaginary types in favour 
> of std.complex.Complex was made a long time ago, but nothing has 
> happened yet. So I have a few questions:
> 
> 1. Is this still planned for D2?

Far as I know, yes.

> 2. In that case, when will it happen?

I don't know.

> 3. Are there any reasons why I shouldn't replace cxxx with Complex!xxx 
> in my code right away?

I think we'll have to provide aliases for the existing complex types, so 
your code should continue functioning after the change.


Andrei




More information about the Digitalmars-d mailing list