Allocator module
A generic allocator where allocation and release are not O(1) operations.
An allocator doesn't destroy its elements in its destructor, they must be destroyed manually.
It doesn't throw exceptions. Instead, asserts are used to ensure valid usage.
Files
Classes
- class bn::ibest_fit_allocator
- Base class of best_
fit_ allocator. -
template<int MaxItems>class bn::best_fit_allocator
- ibest_
fit_ allocator implementation that uses a fixed number of maximum items.