cast(size_t)&c != 0, but c is null

Dicebot m.strashun at gmail.com
Thu May 16 02:05:45 PDT 2013


On Wednesday, 15 May 2013 at 19:30:41 UTC, Dmitry Olshansky wrote:
> Won't this work?
> *cast(void**)&object

Right question is "is this guaranteed to work by spec?".


More information about the Digitalmars-d-learn mailing list