The cast(signed), cast(unsigned) feature proposal
Idan Arye
GenericNPC at gmail.com
Fri Jun 7 19:57:39 PDT 2013
On Saturday, 8 June 2013 at 01:58:46 UTC, Mrzlga wrote:
>> So, you want a syntactic salt that will force people to write
>
> No, no, I don't actually want the salt. I hoped I had indicated
> that in my message.
>
> It was only for your consideration about cast(int), how it
> would be nice to "indicate everything" if there was no price to
> it.
So, let me get this straight:
* You don't want `cast(signed)`, because of the range difference
between the types.
* You want `cast(signed int)` but not as syntactic salt - which
means you still want `cast(int)` to work.
How about `cast(/*signed*/ int)`?
More information about the Digitalmars-d
mailing list