Library Typedefs are fundamentally broken

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 23 09:15:19 PDT 2014


On Tuesday, 23 September 2014 at 16:01:35 UTC, Andrei 
Alexandrescu wrote:
> mixin(makeTypedef!("HMENU", void*));

struct HMENU { void* _; alias _ this; }

Don't even have to import a Phobos module for it!


More information about the Digitalmars-d mailing list