On 06/12/2014 02:06 PM, 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;

Is that actually a function pointer typedef? I can't parse that line. :)

> So, taking your advice, I found this to work (at least it compiles as
> a translation:
>
>    alias blah = typeof(null);

I suspect you need something else. :)

Ali

Reply via email to