Am 02.09.2013 15:39, schrieb Artur Skawina:

     this(this) { jump.ptr = &this; }


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.

Reply via email to