unsigned policy (implicit conversions for complex?)

Walter Bright newshound at digitalmars.com
Mon Feb 12 19:02:14 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?

ubyte => char, ushort => wchar, uint => dchar.



More information about the Digitalmars-d mailing list