Delegate is left with a destroyed stack object

David Nadlinger code at klickverbot.at
Tue Oct 29 14:42:59 PDT 2013


On Tuesday, 29 October 2013 at 21:41:25 UTC, Lionello Lunesu 
wrote:
> So a copy should have been made of the live object, not the 
> destructed one. Correct?

No. There should only be one struct instance, the one living 
(forever) in the closure context.

David


More information about the Digitalmars-d mailing list