The future of lambda delegates
Sean Kelly
sean at f4.ca
Wed Aug 16 18:10:35 PDT 2006
Sean Kelly wrote:
>
> Upon further reflection (and some helpful criticism) this doesn't seem
> like it may not work so well with delegates from structs and classes.
> But I do like the general idea better than that of flagging the
> delegates upon declaration or something like that. I don't suppose the
> idea could be somehow refined to eliminate these problems?
Forget I suggested this idea :-p I forgot about problems like
self-referent stack data and such where a simple copy wouldn't work.
Not to mention that the surrounding function may not return right away
and would be working on a different copy of the data than any delegates
it may have passed.
Sean
More information about the Digitalmars-d
mailing list