Cannot alias null

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 13 05:59:34 PDT 2014


On Thursday, 12 June 2014 at 21:07:47 UTC, Tom Browder via 
Digitalmars-d-learn wrote:
> What I was really trying to do was D'ify C expressions like 
> this:
>
>   typedef ((struct t*)0) blah;

This doesn't compile for me with GCC, and I don't know what it's 
supposed to mean. ((struct t*) 0) is a value, not a type...

Where does it come from?


More information about the Digitalmars-d-learn mailing list