BitMagic-C++
Data Structures | Typedefs | Functions
sample6.cpp File Reference

Example: bvector<> custom memory allocator. More...

#include <iostream>
#include <cassert>
#include "bm.h"
#include "bmundef.h"
Include dependency graph for sample6.cpp:

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_allocbvect
 

Functions

int main (void)
  More...
 

Detailed Description

Example: bvector<> custom memory allocator.

Definition in file sample6.cpp.