BitMagic-C++: bm::bvector< Alloc >::allocation_policy Struct Reference

BitMagic-C++

Public Member Functions | Data Fields
bm::bvector< Alloc >::allocation_policy Struct Reference

memory allocation policy More...

`#include <bm.h>`

## Public Member Functions
| allocation_policy (bm::strategy s=BM_BIT, const gap_word_t *glevels=bm::gap_len_table< true >::_len) BMNOEXCEPT

## Data Fields
bm::strategy | strat
const gap_word_t * | glevel_len

## Detailed Description

### template<class Alloc>
struct bm::bvector< Alloc >::allocation_policy

memory allocation policy

Defualt memory allocation policy uses BM_BIT, and standard GAP levels tune-ups

Definition at line 819 of file bm.h.

## Constructor & Destructor Documentation

## ◆ allocation_policy()

template<class Alloc >

bm::bvector< Alloc >::allocation_policy::allocation_policy | ( | bm::strategy | s = `BM_BIT`,
|  | const gap_word_t * | glevels = `bm::gap_len_table<true>::_len`
| ) |  |
| inline

Definition at line 824 of file bm.h.

## Field Documentation

## ◆ glevel_len

template<class Alloc >

const gap_word_t* bm::bvector< Alloc >::allocation_policy::glevel_len

Definition at line 822 of file bm.h.

## ◆ strat

template<class Alloc >

bm::strategy bm::bvector< Alloc >::allocation_policy::strat

Definition at line 821 of file bm.h.

The documentation for this struct was generated from the following file:

- bm.h