[Issue 7884] std.file.DirIterator.opApply is wrong.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 10 03:58:39 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7884
timon.gehr at gmx.ch changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #1 from timon.gehr at gmx.ch 2012-04-10 03:59:22 PDT ---
Apparently this is fixed in git head:
struct DirIterator
{
private:
RefCounted!(DirIteratorImpl, RefCountedAutoInitialize.no) impl;
this(string pathname, SpanMode mode, bool followSymlink)
{
impl = typeof(impl)(pathname, mode, followSymlink);
}
public:
@property bool empty(){ return impl.empty; }
@property DirEntry front(){ return impl.front; }
void popFront(){ impl.popFront(); }
}
No opApply anymore.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list