#include <bn_best_fit_allocator.h>
template<int MaxItems>
best_fit_allocator class
ibest_
| Template parameters | |
|---|---|
| MaxItems | Maximum number of items that can be stored. |
Base classes
- class ibest_fit_allocator
- Base class of best_
fit_ allocator.
Constructors, destructors, conversion operators
-
best_fit_allocator(void* start,
size_
type bytes) - Default constructor.
Function documentation
template<int MaxItems>
bn:: best_fit_allocator<MaxItems>:: best_fit_allocator(void* start,
size_ type bytes)
Default constructor.
| Parameters | |
|---|---|
| start | Pointer to the first element of the memory to manage. |
| bytes | Size in bytes of the memory to manage. |