On Sun, 20 Mar 2011 19:37:45 +0100, spir wrote:
* ideally, I would use the sign to tell signed types apart (1 is
unsigned, +1 is signed)
I hope you messed that one up. An unadorned int literal should be signed.
Period.
* get rid of 01 octal bug!
Oh gods, yes.
--
Simen
On 03/20/2011 04:40 PM, bearophile wrote:
Do you ever desire literals for byte, ubyte, short and ushort integrals (beside
the currently present for int, uint, long, ulong that are 10, 10U, 10L, 10UL)?
Because of the more strict typing of templates in some situations I have had to
write things
http://d.puremagic.com/issues/show_bug.cgi?id=4870
Do you ever desire literals for byte, ubyte, short and ushort integrals (beside
the currently present for int, uint, long, ulong that are 10, 10U, 10L, 10UL)?
Because of the more strict typing of templates in some situations I have had to
write things like:
cast(ubyte)100
Possible literals for