template<int MaxItems>
bn::best_fit_allocator class

ibest_fit_allocator implementation that uses a fixed number of maximum items.

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.