docs/Writerside/topics/mempool.h.md

branch
docs/3.1
changeset 1143
0559812df10c
parent 1142
9437530176bc
child 1146
151c057faf7c
equal deleted inserted replaced
1142:9437530176bc 1143:0559812df10c
1 # mempool.h 1 # Memory Pool
2 2
3 A memory pool is providing an allocator implementation that automatically deallocates the memory upon its destruction. 3 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 4 It also allows you to register destructor functions for the allocated memory, which are automatically called before
5 the memory is deallocated. 5 the memory is deallocated.
6 Additionally, you may also register _independent_ destructor functions within a pool in case some external library 6 Additionally, you may also register _independent_ destructor functions within a pool in case some external library

mercurial