DirEntries range seems impractical with foreach

Ali Çehreli acehreli at yahoo.com
Mon Mar 17 06:54:08 PDT 2014


On 03/17/2014 02:18 AM, Spacen Jasset wrote:
> While trying to use dirEntries range with foreach I encountered a
> seemingly unsurmountable problem. The problem is that an execption is
> thrown while calling .front()

There has been past discussions on this. What version of dmd are you 
using? The following fix may have already fixed this issue. If not, 
please open another bug report:

   http://d.puremagic.com/issues/show_bug.cgi?id=8298

Ali



More information about the Digitalmars-d-learn mailing list