dlvhex
2.5.0
|
Default malloc based bitblock allocator class. More...
#include <vs10/bm/bmalloc.h>
Static Public Member Functions | |
static bm::word_t * | allocate (size_t n, const void *) |
The member function allocates storage for an array of n bm::word_t elements, by calling malloc. | |
static void | deallocate (bm::word_t *p, size_t) |
The member function frees storage for an array of n bm::word_t elements, by calling free. | |
static bm::word_t * | allocate (size_t n, const void *) |
The member function allocates storage for an array of n bm::word_t elements, by calling malloc. | |
static void | deallocate (bm::word_t *p, size_t) |
The member function frees storage for an array of n bm::word_t elements, by calling free. |
Default malloc based bitblock allocator class.
Functions allocate and deallocate conform to STL allocator specs.
static bm::word_t* bm::block_allocator::allocate | ( | size_t | n, |
const void * | |||
) | [inline, static] |
The member function allocates storage for an array of n bm::word_t elements, by calling malloc.
static bm::word_t* bm::block_allocator::allocate | ( | size_t | n, |
const void * | |||
) | [inline, static] |
The member function allocates storage for an array of n bm::word_t elements, by calling malloc.
static void bm::block_allocator::deallocate | ( | bm::word_t * | p, |
size_t | |||
) | [inline, static] |
The member function frees storage for an array of n bm::word_t elements, by calling free.
static void bm::block_allocator::deallocate | ( | bm::word_t * | p, |
size_t | |||
) | [inline, static] |
The member function frees storage for an array of n bm::word_t elements, by calling free.