|
pbr-cpp-memory-pool 1.1.2
Fixed-block-size O(1) memory pool — C++17 with an ANSI C public surface
|
C++17 RAII wrapper around the C memory pool. More...
Go to the source code of this file.
Classes | |
| class | it::d4np::memorypool::Pool |
Owning, non-copyable, move-only wrapper around a memory_pool_t*. More... | |
| class | it::d4np::memorypool::PoolBuilder |
Fluent builder for configured Pool instances. More... | |
C++17 RAII wrapper around the C memory pool.
Layers an owning, exception-safe handle on top of the C API declared in <it/d4np/memorypool/memory_pool.h>. The wrapper is the RAII pattern adopted in ADR-0010; bodies live alongside the C implementation in memory_pool.cpp and forward to the four spec §5 functions. The wrapper is deliberately minimal — ADR-0010 §2 ("the deliberately small
surface") — additional ergonomics (typed allocation, std::allocator-aware adapter, diagnostic iterators) arrive in Milestone 3.
Definition in file memory_pool.hpp.