86 assert(
sizeof(
size_t) ==
sizeof(
void*));
87 void* p = ::malloc((n+1) *
sizeof(
void*));
88 size_t* s = (
size_t*) p;
96 size_t* s = (
size_t*) p;
127 bv[10000000] =
false;
133 catch(std::exception& ex)
135 std::cerr << ex.what() << std::endl;
Compressed bit-vector bvector<> container, set algebraic methods, traversal iterators.
pre-processor un-defines to avoid global space pollution (internal)
Bitvector Bit-vector container with runtime compression of bits.
BM style allocator adapter.
static bm::word_t * allocate(size_t n, const void *)
static void deallocate(bm::word_t *p, size_t)
static void * allocate(size_t n, const void *)
static void deallocate(void *p, size_t)
bm::bvector< dbg_alloc > bvect
bm::mem_alloc< dbg_block_allocator, dbg_ptr_allocator, bm::alloc_pool< dbg_block_allocator, dbg_ptr_allocator > > dbg_alloc