can I generate an enum from a typelist?

bearophile bearophileHUGS at lycos.com
Tue Apr 8 17:27:47 PDT 2014


Vlad Levenfeld:

> alias Layer = Algebraic !(Solid, Gradient, Text, Sprite, Plane);

I suggest no space before the bang when you instantiate templates.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list