size_t + ptrdiff_t

Jonathan M Davis jmdavisProg at gmx.com
Tue Feb 21 21:56:34 PST 2012


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.

- Jonathan M Davis


More information about the Digitalmars-d mailing list