On Sunday, 26 October 2014 at 03:37:47 UTC, Maxime
Chevalier-Boisvert wrote:
I also wanted to ask if there was an implementation of an
object pool in the standard library. If not, I'm wondering what
the best way to implement this is. Is there any way to overload
new and destroy?
Andrei has an allocator proposal that seemed largely done but for
whatever reason it hasn't been submitted yet.
http://erdani.com/d/phobos-prerelease/std_allocator.html
Object pools seems like the kind of thing it should be good at.