January 2019
Intermediate to advanced
384 pages
11h 50m
English
With that, we've finished our overview of custom allocator types. We won't present any example implementations here, because there are enough of them already. If you are using Boost in your project, then you'll be glad to hear that it has a fixed-memory manager library called Pool (https://www.boost.org/doc/libs/1_68_0/libs/pool/doc/html/index.html).
Howard Hinnant implemented an on-stack allocator called short_alloc (https://howardhinnant.github.io/stack_alloc.html). These are high-quality implementations; use them if you need a custom allocator.
Read now
Unlock full access