Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.


This is related to #94
The idea is that we do very few memory allocations as it is, but we could, optionally, allow the user to provide use with a memory allocator instance from which we would ask the memory.
Possibly, this could only be supported for C++17 compilers because the change in std::allocator between C++17 and pre-C++17 is rather major. Supporting the old API in addition to the new one would be unpleasant work. Of course, the feature could be extended to C++11 later, especially if there are willing programmers.
This is a relatively easy feature to add. We don't do allocations all over the place. We may have 4 or 5 memory allocations in the whole library.
cc @KubaO @TkTech