cast(size_t)&c != 0, but c is null
Timothee Cour
thelastmammoth at gmail.com
Wed May 15 13:36:31 PDT 2013
>
>
>
> Won't this work?
> *cast(void**)&object
>
>>
>>
great, works!
I've added it to my dtools repo:
https://github.com/timotheecour/dtools/blob/master/dtools/util/util.d#L19
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130515/cd2a74f0/attachment.html>
More information about the Digitalmars-d-learn
mailing list