On Tuesday, 7 June 2016 at 15:33:57 UTC, chmike wrote:

or should I do it the C way with multiple embedded static if...

In your example, `version` would also work instead of `static if`.

I would not copy much code needlessly, and go with the embedded version/static ifs.

- Johan

Reply via email to