On Tuesday, 17 September 2019 at 00:41:03 UTC, octo wrote: > `static switch` would make a nice addition to `static if`, > `static foreach`, etc. > > Any thoughts? Could it be done as static foreach (blah; blah) {static if (...) {} }? I don't know whether the amount of use it would get would be useful relative to the cost of implementing it