BitMagic-C++
|
Example: bvector<> custom memory allocator. More...
Go to the source code of this file.
Data Structures | |
class | dbg_block_allocator |
class | dbg_ptr_allocator |
Typedefs | |
typedef bm::mem_alloc< dbg_block_allocator, dbg_ptr_allocator, bm::alloc_pool< dbg_block_allocator, dbg_ptr_allocator > > | dbg_alloc |
typedef bm::bvector< dbg_alloc > | bvect |
Functions | |
int | main (void) |
Example: bvector<> custom memory allocator.
Definition in file sample6.cpp.
typedef bm::bvector<dbg_alloc> bvect |
Definition at line 114 of file sample6.cpp.
typedef bm::mem_alloc<dbg_block_allocator, dbg_ptr_allocator, bm::alloc_pool<dbg_block_allocator, dbg_ptr_allocator> > dbg_alloc |
Definition at line 112 of file sample6.cpp.
int main | ( | void | ) |
Definition at line 116 of file sample6.cpp.
References dbg_block_allocator::balance(), dbg_ptr_allocator::balance(), dbg_block_allocator::na_, and dbg_ptr_allocator::na_.