On 2019-03-17 12:27, Johannes Pfau wrote: > You can implement that using TLS globals, I think this is what > std.experimental.allocators theAllocator is supposed to do. Of course > you're limited in typing, you can't use templates there. Then the functions can't be pure. -- /Jacob Carlborg