[phobos] sizediff_t

Andrei Alexandrescu andrei at erdani.com
Tue Jan 11 01:32:50 PST 2011


On 1/11/11 1:21 AM, Walter Bright wrote:
> Why is it a misnomer? When, in C, would you use ssize_t rather than
> ptrdiff_t? Are they ever a different type?

I don't think they're a different type.

One place I've seen that use is in file I/O.

> (If you're going to do it, it should be ssize_t.)

Okay.


Andrei


More information about the phobos mailing list