This works, vit. Thanks! I thought it wouldn't, because your code still makes use of embrace. But it somehow worked, although I don't understand why ... ;-).

I also added a constructor using the same approach as your destructor and this also worked:

     this(int otherNum) @nogc {
         this.num = otherNum;
         debug writeln("this: ", this.num);
     }

@evilrat: Will try what you suggested after work today. Too busy now.


Reply via email to