#include <rutz/freelist.h>
Public Member Functions | |
free_list () | |
Construct an (empty) free list. | |
void * | allocate (std::size_t bytes) |
void | deallocate (void *space) |
void | release_free_nodes () |
Release all nodes currently on the free list (e.g. to conserve memory). |
Definition at line 88 of file freelist.h.
rutz::free_list< T >::free_list | ( | ) | [inline] |
Construct an (empty) free list.
All objects allocated from this list must be of size sizeof(T).
Definition at line 96 of file freelist.h.