To avoid some 32=>64 bit user code port bugs

KennyTM~ kennytm at gmail.com
Tue Aug 17 08:52:05 PDT 2010


On Aug 17, 10 22:07, Trass3r wrote:
>> If size_t is a library-defined strong typedef instead of alias, what
>> type should .sizeof return?
>
> Hmm good point, I don't know how it is handled currently.

Currently, .sizeof returns a uint, and size_t is defined as

     alias typeof(int.sizeof) size_t;

inside object.di.


More information about the Digitalmars-d mailing list