How to add nogc to delegate

Engine Machine via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 10 21:15:07 PDT 2016


void foo(@nogc void delegate())

doesn't work.

But declaring an alias does, but too verbose. Surely we should be 
able to add the attribute directly?



More information about the Digitalmars-d-learn mailing list