On Wednesday, 22 November 2017 at 15:14:32 UTC, Stefan Koch wrote:
On Wednesday, 22 November 2017 at 15:11:08 UTC, Tim Hsu wrote:On Wednesday, 22 November 2017 at 15:07:54 UTC, Stefan Koch&this will do.I've tried it in the first place. ... Error: this is not an lvalueIn that case casting to void* should be fine.
But..The compiler still does not produce the executable... foo(&this); app.d(17): Error: this is not an lvalue