size_t + ptrdiff_t

Manu turkeyman at gmail.com
Sun Feb 19 15:17:42 PST 2012


On 20 February 2012 01:10, kennytm <kennytm at gmail.com> wrote:

> Manu <turkeyman at gmail.com> wrote:
> > I propose size_t + ssize_t should both exist, and represent the native
> > integer size.
>
> sizediff_t (currently just aliased to ptrdiff_t but the link could be
> broken).
>
> > Also something like ptr_t, and ptrdiff_t should also exist,
> > and represent the size of the pointer.
> >
>
> core.stdc.stdint.uintptr_t
>

O_o .. how is this different to size_t now? Why the redundant alias?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120220/cbcaa47e/attachment-0001.html>


More information about the Digitalmars-d mailing list