std.allocator ready for some abuse

Michel Fortin michel.fortin at michelf.ca
Fri Oct 25 11:50:27 PDT 2013


On 2013-10-25 15:14:38 +0000, "Adam D. Ruppe" <destructionator at gmail.com> 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
michel.fortin at michelf.ca
http://michelf.ca



More information about the Digitalmars-d mailing list