opApply not called for foeach(container)
Mehrdad
wfunction at hotmail.com
Sun Jul 15 23:27:11 PDT 2012
On Sunday, 15 July 2012 at 20:01:35 UTC, Jonathan M Davis wrote:
> Ideally, we wouldn't even need opApply anymore
AFAIT, that's impossible.
Not because of D, but because of other stuff.
Lots of functions require callbacks for enumeration (e.g.
EnumChildWindows in Windows); it's simply impossible to wrap them
through something that doesn't take control away from the caller.
More information about the Digitalmars-d
mailing list