http://d.puremagic.com/issues/show_bug.cgi?id=4603
Brad Anderson <e...@gnuk.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |e...@gnuk.net --- Comment #9 from Brad Anderson <e...@gnuk.net> 2012-04-19 18:41:12 PDT --- This now seems to work as you want in DMD 2.059. The following: import std.stdio, std.range; void main() { auto empty_array = array(iota(1, 0)); writeln("type: ", typeof(empty_array).stringof, ", empty? ", empty_array.empty, ", contents: ", empty_array); } Outputs: type: int[], empty? true, contents: [] I'd say it can be closed and marked RESOLVED now. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------