On 7/22/13, monarch_dodra <[email protected]> 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
