size_t + ptrdiff_t

Stewart Gordon smjg_1998 at yahoo.com
Wed Feb 22 06:59:44 PST 2012


On 22/02/2012 02:23, Walter Bright wrote:
<snip>
> The C99 Standard sez:
>
> "The types are ptrdiff_t which is the signed integer type of the result of subtracting two
> pointers; size_t which is the unsigned integer type of the result of the sizeof operator;"

And what does it say about what type the sizeof operator returns?

Stewart.


More information about the Digitalmars-d mailing list