On Tuesday, 2 May 2017 at 02:51:02 UTC, Stanislav Blinov wrote:
Lost one else. Should be
static if (traits & (AllocatorTraits.sharedInstance |
AllocatorTraits.noGC))
@nogc shared { mixin AllocatorInterface!(); }
else static if (traits & AllocatorTraits.sharedInstance)
shared { mixin AllocatorInterface!(); }
else static if (traits & AllocatorTraits.noGC)
@nogc { mixin AllocatorInterface!(); }
else
mixin AllocatorInterface!();
