On 2012-10-17 00:23, Jonathan M Davis wrote:
2. Or make it a range (see http://dlang.org/statement.html#foreach_with_ranges and http://ddili.org/ders/d.en/ranges.html ), which would probably be a bad idea, since containers really shouldn't be ranges.
Why is that a bad idea? -- /Jacob Carlborg