December 21, 2019 [Issue 13923] Specify guarantees on associative array iteration order volatility | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13923 berni44 <bugzilla@d-ecke.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@d-ecke.de Resolution|--- |INVALID --- Comment #1 from berni44 <bugzilla@d-ecke.de> --- Answer to your questiones: You have no guarantees. "In particular, in a foreach loop the order in which the elements are iterated is typically unspecified." from https://dlang.org/spec/hash-map.html -- |
Copyright © 1999-2021 by the D Language Foundation