On 3/14/12, Alex Rønne Petersen <xtzgzo...@gmail.com> wrote:
>          auto ptr = cast(size_t)cast(void*)object;

I think this should be:

auto ptr = cast(size_t)*cast(void**)&object;

The object might have an opCast method, and this is one way to avoid
calling it by accident.

Reply via email to