|
ADS
Algorithms and Data Structures
|
An arena of objects allocated in blocks, beyond the book. More...
Files | |
| file | ADS/memory/Arena.h |
| An arena of objects allocated in blocks, beyond the book: make() builds an object in the current block, a new block of \( n \) objects is taken when it is full, and all the objects die with the arena. | |
Classes | |
| class | ADS::Arena< T, A > |
| an arena of objects of type T in blocks of \( n \) More... | |
| class | ADS::ArenaResource< A > |
| an arena of bytes in blocks of \( n \), the resource of a PoolAllocator More... | |
An arena of objects allocated in blocks, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of memory.