size_t + ptrdiff_t

Stewart Gordon smjg_1998 at
Tue Feb 21 17:23:19 PST 2012

On 21/02/2012 22:45, Juan Manuel Cabo wrote:
> The C standard only guarantees that:
>    sizeof(char)<= sizeof(int)<= sizeof(long)<= sizeof(size_t)

I'm surprised.  I'd assumed that, under 16-bit DOS/Windows, a size_t would be 16 bits. 
But no.  Could memory blocks 64K or larger actually be allocated under those systems?


More information about the Digitalmars-d mailing list