size_t + ptrdiff_t

Walter Bright newshound2 at digitalmars.com
Tue Feb 21 22:20:08 PST 2012


On 2/21/2012 9:56 PM, Jonathan M Davis wrote:
> On Tuesday, February 21, 2012 21:22:54 Walter Bright wrote:
>> On 2/21/2012 4:50 PM, Juan Manuel Cabo wrote:
>>> Looking for size_t extravagancies in C, I found that VC uses __int64
>>> for size_t in x64 target.
>>
>> Which is correct.
>>
>> size_t for 64 bit D is also a 64 bit integral type.
>
> Yes, but __int64 is a signed integeral type, whereas size_t in D is an
> unsigned integeral type.

Ah, I see.


More information about the Digitalmars-d mailing list