Signed word lengths and indexes
Walter Bright
newshound1 at digitalmars.com
Wed Jun 16 09:35:35 PDT 2010
bearophile wrote:
> Walter Bright:
>
>> Changing the sign of size_t from unsigned to signed when going from 32 to
>> 64 bits will cause a difference in behavior.<
>
> I have proposed to use a "signed word" on both 32 and 64 bits systems. So
> where's the difference in behaviour?
If we go back in the thread, the argument for the signed size_t argument was for
64 bit address spaces. With 32 bit address spaces, objects larger than 31 bits
are needed.
More information about the Digitalmars-d
mailing list