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 |