|
pbr-cpp-memory-pool 1.1.2
Fixed-block-size O(1) memory pool — C++17 with an ANSI C public surface
|
A fixed-block-size, O(1) memory pool with a C++17 implementation behind an ANSI C (C89-compatible) public surface and zero external dependencies.
This site is the generated API reference — the per-symbol contract (parameters, return values, preconditions, thrown exceptions) extracted from the Doxygen comments in the public headers. It is one of the two documentation formats the project maintains; the rationale for the split is ADR-0013 (Doxygen for the API contract, Markdown for the narrative), and the pipeline that publishes this site is ADR-0027.
memory_pool.h: memory_pool_create, memory_pool_alloc, memory_pool_free, memory_pool_destroy.it::d4np::memorypool::Pool (RAII, move-only) and its construction surface (Pool::make, PoolBuilder) are in memory_pool.hpp.it::d4np::memorypool::TypedPool<T> in typed_pool.hpp adds object-lifetime verbs over a typed pool.it::d4np::memorypool::PoolAllocator<T> in pool_allocator.hpp is a Cpp17Allocator adapter for standard containers.it::d4np::memorypool::InstrumentedPool in instrumented_pool.hpp is an opt-in Decorator with counters and a PoolObserver lifecycle-event hook.it::d4np::memorypool::FreeListView in free_list_iterator.hpp is a read-only iterator over the implicit free list, compiled in only when diagnostics are enabled.The narrative documentation — the specification, the Architecture Decision Records, the design-patterns catalogue, the roadmap, and the release notes — is authored in Markdown and rendered on GitHub:
Licensed under the MIT License.