The object pool example demonstrates how a simple custom deleter is able to return objects to a pool when their lifetime has expired.
The memory pool example demonstrates how to use a pntr::SharedPtr
with a std::pmr::memory_resource
pool.
The custom memory pool example demonstrates how to use a custom allocator with a std::pmr::memory_resource
pool to achieve maximum efficiency.
Please feel free to send me ideas for more examples.