http://d.puremagic.com/issues/show_bug.cgi?id=5891
Summary: hasLength!iota is false Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: regression Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: dsim...@yahoo.com --- Comment #0 from David Simcha <dsim...@yahoo.com> 2011-04-26 06:19:17 PDT --- With the latest SVN versions of Phobos and DMD the following static assert fails: import std.range; void main() { auto myIota = iota(1000); static assert(hasLength!(typeof(myIota))); } IMHO this is a blocker for releasing 2.053 because iota is very frequently used with parallel foreach loops and parallel foreach is much less efficient if iterating over a range without a length. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------