http://d.puremagic.com/issues/show_bug.cgi?id=9020
--- Comment #2 from Malte Skarupke <[email protected]> 2012-11-13 17:56:23 PST --- Seems kinda random actually: import std.stdio; void main() { class C { this(int a) { this_pointer = &this; writefln("ptr: %X", this_pointer); writefln("ths: %X", &this); } void test() { writefln("ptr: %X", this_pointer); writefln("ths: %X", &this); } C* this_pointer; } C c = new C(5); c.test(); } ptr: 7FFFF8A0B0A0 ths: 7FFFF8A0B0A0 ptr: 7FFFF8A0B0A0 ths: 7FFFF8A0B0A8 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
