> 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.