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.
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.