docs/Writerside/topics/mempool.h.md

branch
docs/3.1
changeset 1146
151c057faf7c
parent 1143
0559812df10c
equal deleted inserted replaced
1145:1a8fe7b7dd8a 1146:151c057faf7c
1 # Memory Pool 1 # Memory Pool
2
3 <warning>
4 Outdated - Rewrite!
5 </warning>
2 6
3 A memory pool is providing an allocator implementation that automatically deallocates the memory upon its destruction. 7 A memory pool is providing an allocator implementation that automatically deallocates the memory upon its destruction.
4 It also allows you to register destructor functions for the allocated memory, which are automatically called before 8 It also allows you to register destructor functions for the allocated memory, which are automatically called before
5 the memory is deallocated. 9 the memory is deallocated.
6 Additionally, you may also register _independent_ destructor functions within a pool in case some external library 10 Additionally, you may also register _independent_ destructor functions within a pool in case some external library

mercurial