unsigned policy (implicit conversions for complex?)
Bill Baxter
dnewsgroup at billbaxter.com
Wed Feb 7 15:59:56 PST 2007
Andrei Alexandrescu (See Website For Email) wrote:
> Current D botches quite a few of the arithmetic conversions. Basically
> all conversions that may lose value, meaning, or precision should not be
> allowed implicitly. Walter is willing to fix D in accordance to that
> rule, which would yield an implicit conversion graph as shown in:
>
> http://erdani.org/d-implicit-conversions.pdf
>
I notice the graph doesn't include complex types.
Is there any reason why float shouldn't be automatically converted to
cfloat?
--bb
More information about the Digitalmars-d
mailing list