How can I do that in @nogc?

Namespace via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 25 11:32:48 PST 2015


----
void glCheck(lazy void func, string file = __FILE__, uint line = 
__LINE__) {
	func();
	glCheckError(file, line);
}
----

How can I specify that 'func' is @nogc? Or can define the 
function otherwise?


More information about the Digitalmars-d-learn mailing list