BitMagic-C++: sample22.cpp File Reference

BitMagic-C++

Functions
sample22.cpp File Reference

Example: bvector<> - ranges and intervals functions. More...

`#include <iostream>`
`#include "bm.h"`
`#include "bmserial.h"`
`#include "bmintervals.h"`
Include dependency graph for sample22.cpp:

Go to the source code of this file.

## Functions
template<class T >
void | PrintContainer (T first, T last)
int | main (void)

## Detailed Description

Example: bvector<> - ranges and intervals functions.

Definition in file sample22.cpp.

## Function Documentation

## ◆ main()

int main | ( | void |  | ) |

Examples
  sample22.cpp.

Definition at line 69 of file sample22.cpp.

References bm::bvector< Alloc >::any_range(), bm::BM_GAP, bm::bvector< Alloc >::clear_range(), bm::bvector< Alloc >::copy_range(), bm::deserialize_range(), bm::bvector< Alloc >::end(), bm::bvector< Alloc >::equal(), bm::find_interval_end(), bm::find_interval_start(), bm::bvector< Alloc >::first(), bm::bvector< Alloc >::is_all_one_range(), bm::is_interval(), bm::bvector< Alloc >::keep_range(), bm::bvector< Alloc >::optimize(), PrintContainer(), bm::serializer< BV >::serialize(), bm::serializer< BV >::set_bookmarks(), and bm::bvector< Alloc >::set_range().

## ◆ PrintContainer()

template<class T >

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

Examples
  sample22.cpp.

Definition at line 59 of file sample22.cpp.

Referenced by main().