http://d.puremagic.com/issues/show_bug.cgi?id=8545



--- Comment #5 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-08-14 
08:18:35 PDT ---
> You could also use
> 
>     void* test() { return *cast(void**)&this; }
> 

Thanks! It does seem to create the exact same assembly even with no
optimizations.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to