# bm::copy_to_array_functor< B > Class Template Reference

Adaptor to copy 1 bits to array. More...

`#include <bmfunc.h>`

## Public Member Functions

| copy_to_array_functor (B *bits)
B * | ptr ()
void | operator() (unsigned bit_idx)
void | operator() (unsigned bit_idx0, unsigned bit_idx1)
void | operator() (unsigned bit_idx0, unsigned bit_idx1, unsigned bit_idx2)
void | operator() (unsigned bit_idx0, unsigned bit_idx1, unsigned bit_idx2, unsigned bit_idx3)

## Detailed Description

### template<typename B>
class bm::copy_to_array_functor< B >

Adaptor to copy 1 bits to array.

Definition at line 4582 of file bmfunc.h.

## Constructor & Destructor Documentation

template<typename B>

bm::copy_to_array_functor< B >::copy_to_array_functor | ( | B * | bits | ) | `[inline]`

Definition at line 4585 of file bmfunc.h.

## Member Function Documentation

template<typename B>

void bm::copy_to_array_functor< B >::operator() | ( | unsigned | bit_idx0,
|  | unsigned | bit_idx1,
|  | unsigned | bit_idx2,
|  | unsigned | bit_idx3 |
| ) |  |  | `[inline]`

Definition at line 4607 of file bmfunc.h.

template<typename B>

void bm::copy_to_array_functor< B >::operator() | ( | unsigned | bit_idx0,
|  | unsigned | bit_idx1,
|  | unsigned | bit_idx2 |
| ) |  |  | `[inline]`

Definition at line 4599 of file bmfunc.h.

template<typename B>

void bm::copy_to_array_functor< B >::operator() | ( | unsigned | bit_idx0,
|  | unsigned | bit_idx1 |
| ) |  |  | `[inline]`

Definition at line 4592 of file bmfunc.h.

template<typename B>

void bm::copy_to_array_functor< B >::operator() | ( | unsigned | bit_idx | ) | `[inline]`

Definition at line 4590 of file bmfunc.h.

template<typename B>

B* bm::copy_to_array_functor< B >::ptr | ( |  | ) | `[inline]`

Definition at line 4588 of file bmfunc.h.

Referenced by bm::bit_list(), and bm::bit_list_4().

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

- bmfunc.h