can I generate an enum from a typelist?

Vlad Levenfeld vlevenfeld at gmail.com
Wed Apr 9 00:37:16 PDT 2014


On Wednesday, 9 April 2014 at 00:27:48 UTC, bearophile wrote:
> Vlad Levenfeld:
>
>> alias Layer = Algebraic !(Solid, Gradient, Text, Sprite, 
>> Plane);
>
> I suggest no space before the bang when you instantiate 
> templates.
>
> Bye,
> bearophile

Because it will be more easily confused with a logical not 
operator?


More information about the Digitalmars-d-learn mailing list