Mixin replacement for switch...case?

Jerome jerome.spamable at yahoo.com
Wed Oct 24 00:56:08 PDT 2012


> Remark 1: I understand that your mixin will be expanded into 
> cascaded if...else statements. It would probably be more 
> efficient to expand into switch...case, don't you think?

Oh! I've just figured out that it is not a mixin, but a function 
template.


More information about the Digitalmars-d mailing list