Thanks Mike!
On Friday, 10 November 2017 at 06:22:51 UTC, Tony wrote:
Doing a port of some C code that has an #ifdef in the middle of
an initialization for an array of structs. I am getting a
compile error trying to get equivalent behavior with "static
if" or "version". Is there a way to achieve this other
Doing a port of some C code that has an #ifdef in the middle of
an initialization for an array of structs. I am getting a compile
error trying to get equivalent behavior with "static if" or
"version". Is there a way to achieve this other than making two
separate array initialization sections?