On Saturday, 10 October 2015 at 16:42:52 UTC, Nordlöw wrote:
Found it:

http://dlang.org/phobos/std_algorithm_comparison.html#predSwitch

An alias would be perhaps be motivated to make newcomers easier grap that this can be used for whole replacements.

Ahh, but this doesn't use a hash-table because it doesn't support taking its arguments as CT-params...so that doesn't qualify.

Maybe we should add a new CT-param-only overload for `predSwitch` similar to `among`?

Destroy!

Reply via email to