size_t + ptrdiff_t

Sean Kelly sean at invisibleduck.org
Mon Feb 20 14:48:11 PST 2012


On Feb 20, 2012, at 2:34 PM, Manu wrote:
> 
> What about intptr_t/uintptr_t, are they builtins, or in core.stdc?

core.stdc.  The only aliases that currently exist are defined in object.di:

alias typeof(int.sizeof)                    size_t;
alias typeof(cast(void*)0 - cast(void*)0)   ptrdiff_t;
alias ptrdiff_t                             sizediff_t;

We probably need to add ssize_t at some point.  Not sure about anything more than that.


More information about the Digitalmars-d mailing list