On 7/4/2015 2:24 PM, Joakim wrote:
> I agree that mistyping and checking a large array of
> version constants can cause problems
It's one reason why this style is recommended:
version (linux)
{
...
}
else version (Windows)
{
...
}
else
static assert(0);