https://issues.dlang.org/show_bug.cgi?id=4347
Mathias Lang <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |m --- Comment #4 from Mathias Lang <[email protected]> --- @Andrei: Actually, there is already a difference in behavior. When iterating over a range which is a reference (e.g. class), the range will be advanced by foreach. However, for value types (structs), the struct is copied, resulting in an implict `.save` most of the time. See https://issues.dlang.org/show_bug.cgi?id=15413 for example. --
