Ah, right. I'll bear it in mind if I'm ever writing cross-architectural code in D.

On Friday, 8 November 2013 at 09:37:56 UTC, Marco Leise wrote:
Am Fri, 08 Nov 2013 09:58:38 +0100
schrieb "logicchains" <[email protected]>:

That's interesting. Is there a particular reason for using size_t for array indexing rather than int?

It is the natural representation of an array index. It is
unsigned and spans the whole addressable memory area.
The _t indicates that its size depends on the target
architecture.

Reply via email to