Integer conversions too pedantic in 64-bit

KennyTM~ kennytm at gmail.com
Wed Feb 16 04:56:53 PST 2011


On Feb 16, 11 11:49, Michel Fortin wrote:
> On 2011-02-15 22:41:32 -0500, "Nick Sabalausky" <a at a.a> said:
>
>> I like "nint".
>
> But is it unsigned or signed? Do we need 'unint' too?
>
> I think 'word' & 'uword' would be a better choice. I can't say I'm too
> displeased with 'size_t', but it's true that the 'size_t' feels out of
> place in D code because of its name.
>
>

'word' may be confusing to Windows programmers because in WinAPI a 
'WORD' means an unsigned 16-bit integer (aka 'ushort').

http://msdn.microsoft.com/en-us/library/cc230402(v=PROT.10).aspx


More information about the Digitalmars-d mailing list