BitMagic-C++: sample8.cpp File Reference

BitMagic-C++

Functions
sample8.cpp File Reference

Example: bvector<> - STL interoperability. More...

`#include <iostream>`
`#include <algorithm>`
`#include <vector>`
`#include <list>`
`#include "bm.h"`
Include dependency graph for sample8.cpp:

Go to the source code of this file.

## Functions
void | Print (bm::bvector<>::size_type n)
template<class T >
void | PrintContainer (T first, T last)
int | main (void)

## Detailed Description

Example: bvector<> - STL interoperability.

Definition in file sample8.cpp.

## Function Documentation

## ◆ main()

int main | ( | void |  | ) |

Examples
  sample8.cpp.

Definition at line 65 of file sample8.cpp.

References bm::bvector< Alloc >::count(), bm::bvector< Alloc >::end(), bm::bvector< Alloc >::first(), bm::bvector< Alloc >::inserter(), and PrintContainer().

## ◆ Print()

void Print | ( | bm::bvector<>::size_type | n | ) |
| inline

Examples
  sample8.cpp.

Definition at line 49 of file sample8.cpp.

## ◆ PrintContainer()

template<class T >

void PrintContainer | ( | T | first,
|  | T | last
| ) |  |

Examples
  sample8.cpp.

Definition at line 55 of file sample8.cpp.

Referenced by main().