----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?
----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?