need clarification: will typedef, C struct initialization, etc.

Trass3r un at known.com
Mon May 31 20:36:48 PDT 2010


> struct Typedef( T ) {
>      T payload;
>      alias payload this;
> }
>
> alias Typedef!int myInt;
>
> There you go.

The question is if this still works flawlessly for complicated examples.


More information about the Digitalmars-d mailing list