On 2013-10-25 15:14:38 +0000, "Adam D. Ruppe" <[email protected]> said:

@safe void setAllocator(Allocator)(pure @safe void function() code) {}

just might work out.

I wonder what kind of things can be done in a pure function that takes no parameter and returns void. Not much I guess.

--
Michel Fortin
[email protected]
http://michelf.ca

Reply via email to