problem with size_t and an easy solution
Mike Parker via Digitalmars-d
digitalmars-d at puremagic.com
Tue Dec 9 17:22:00 PST 2014
On 12/10/2014 1:55 AM, Gary Willoughby wrote:
> On Tuesday, 9 December 2014 at 16:10:10 UTC, ketmar via Digitalmars-d
> wrote:
>> p.s. just out of curiousity: why do you need it? D int types has
>> well-defined size, so i can't see any sense in using C leftover.
>
> I'm doing lots of pointer arithmetic so i've used uintptr_t in various
> places.
So you should be importing core.stdc.stdint directly. Pretend that
std.stdint doesn't exist.
More information about the Digitalmars-d
mailing list