# sample6.cpp File Reference

`#include <iostream>`
`#include <cassert>`
`#include "bm.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 > | dbg_alloc
typedef bm::bvector< dbg_alloc > | bvect

## Functions

int | main (void)

## Typedef Documentation

typedef bm::bvector<dbg_alloc> bvect

Definition at line 115 of file sample6.cpp.

typedef bm::mem_alloc<dbg_block_allocator, dbg_ptr_allocator> dbg_alloc

Definition at line 113 of file sample6.cpp.

## Function Documentation

int main | ( | void |  | ) |

Definition at line 119 of file sample6.cpp.

References dbg_ptr_allocator::balance(), dbg_block_allocator::balance(), dbg_ptr_allocator::na_, and dbg_block_allocator::na_.