84 assert(
sizeof(
size_t) ==
sizeof(
void*));
85 void* p = ::malloc((n+1) *
sizeof(
void*));
86 size_t* s = (
size_t*) p;
94 size_t* s = (
size_t*) p;
125 bv[10000000] =
false;
131 catch(std::exception& ex)
133 std::cerr << ex.what() << std::endl;
Compressed bit-vector bvector<> container, set algebraic methods, traversal iterators.
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 deallocate(void *p, size_t)
static void * allocate(size_t n, const void *)
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