Why is size_t unsigned?

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Jul 22 13:43:27 PDT 2013


On 7/22/13, monarch_dodra <monarchdodra at gmail.com> wrote:
> 99% sure that's unspecified behavior. I wouldn't rely on anything
> like that.

Actually it used to be a bug that writing to the index /without/ ref
would end up changing the iteration order, but this was fixed in
2.063. It's in the changelog:

http://dlang.org/changelog.html#foreachref


More information about the Digitalmars-d-learn mailing list