unsigned policy (implicit conversions for complex?)

Bruno Medeiros brunodomedeiros+spam at com.gmail
Tue Feb 13 04:06:22 PST 2007


Andrei Alexandrescu (See Website For Email) wrote:
> Walter Bright wrote:
>> Andrei Alexandrescu (See Website For Email) wrote:
>>> So the way things should be is: all meaning-preserving integral 
>>> promotions should be kept; then, all implicit integral->floating 
>>> point promotions should be severed; then, all implicit floating 
>>> point->complex  should go.
>>>
>>> Right?
>>
>> Yes. Also disallow implicit conversion of Object to void*.
> 
> How iz zis:
> 
> http://erdani.org/d-implicit-conversions.pdf
> 
> I put Object and void* in there for your sake :o).
> 
> Did I forget something?
> 
> 
> Andrei

That chart looks nice. Perhaps it should be put in the official D doc 
(when it is finished)?

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list