On Tuesday, 21 June 2016 at 19:21:01 UTC, Gary Willoughby wrote:
Right ok, thanks! It doesn't seem to help though as the compiler complains about it being not @nogc.

You probably need to declare the delegate and opApply() itself as @nogc, too:

int opApply(scope int delegate(int) @nogc dg) @nogc { }

Reply via email to