On Sunday, 13 March 2016 at 16:02:07 UTC, WebFreak001 wrote:
However note that this is not the same as that function. cast(void*)this and &this are 2 different things. So if you want to do the same as saveThis just do void* thisAddr = cast(void*) &this; instead

void* thisAddr = cast(void*) &this;

Error compile: Deprecation: this is not an lvalue


Reply via email to