On Wednesday, 29 December 2021 at 08:56:47 UTC, rempas wrote:
On Tuesday, 28 December 2021 at 22:26:33 UTC, max haughton wrote:
Why do you need this? What's wrong with a normal branch in this case.

Runtime performance. I want the value to get checked at compile time and use "static if" with it

If the value is known at compile time the compiler can pretty easily do that for you unless you're really unlucky.

Reply via email to