If I use (as you do)
----
this(ref this) {
----
I get 0 as output. (dmd 2.062 beta1)
If I remove the 'ref' I get 11389556.

Ouch, sorry! That's a copy & paste bug I introduced when posting here.

Actually, I use this (this) of course. I tried this (ref this) at some point, it does indeed compile surprisingly, but it's not what gets called on copying (and thus is of no use).

Reply via email to