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

Reply via email to