On Friday, 12 April 2019 at 13:54:05 UTC, kinke wrote: > [snip] > > I'd use something like > > version (LDC) import ldc.attributes : restrict; > else enum restrict = null; Much better, thanks.