DIP 50 - AST macros

Jacob Carlborg doob at me.com
Mon Nov 18 00:43:36 PST 2013


On 2013-11-17 21:04, Philippe Sigaud wrote:

> alias staticToString(T...) = T.stringof;
>
> Which is both easier to understand and easier on the eyes.

Wouldn't that be enum instead:

enum staticToString(T...) = T.stringof;

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list