Integer conversions too pedantic in 64-bit

Daniel Gibson metalcaedes at gmail.com
Tue Feb 15 05:01:43 PST 2011


Am 15.02.2011 12:50, schrieb spir:
> On 02/15/2011 03:44 AM, Piotr Szturmaj wrote:
>> spir wrote:
>>> Rename size-t, or rather introduce a meaningful standard alias? (would
>>> vote for Natural)
>>
>> Maybe ptrint and ptruint?
>
> If ptr means pointer, then it's wrong: size-t is used for more than
> that, I guess. Strangely enough, while "size" may suggest it, .length
> does not return a size_t but an uint.
>
> Denis

.length of what? An array?
I'm pretty sure it returns size_t.

Cheers,
- Daniel


More information about the Digitalmars-d mailing list