Pitfalls of delegates inside ranges

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Wed Sep 4 04:42:02 PDT 2013


On 03/09/13 12:00, Sönke Ludwig wrote:
> Just a warning: This can still easily crash due to D's struct move semantics.
> Structs are moved around sometimes without any postblit constructor or
> destructor being called, so fixing self-references like this won't work in general.

Is the patch to Phobos risky, then?  I'll switch to an alternative design if so.



More information about the Digitalmars-d-learn mailing list