unsigned policy (implicit conversions for complex?)

Andrei Alexandrescu (See Website For Email) SeeWebsiteForEmail at erdani.org
Mon Feb 12 19:03:04 PST 2007


Walter Bright wrote:
> 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?
> 
> ubyte => char, ushort => wchar, uint => dchar.

Is that both ways??? :oO

Andrei



More information about the Digitalmars-d mailing list