Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals | Examples

bm::bit_count_table< T > Struct Template Reference
[BIT functions]

Structure to aid in counting bits table contains count of bits in 0-255 diapason of numbers. More...

#include <bmfunc.h>


Static Public Attributes

static const unsigned char _count [256]


Detailed Description

template<bool T>
struct bm::bit_count_table< T >

Structure to aid in counting bits table contains count of bits in 0-255 diapason of numbers.

Definition at line 132 of file bmfunc.h.


Field Documentation

template<bool T>
const unsigned char bm::bit_count_table< T >::_count [static]
 

Initial value:

 {
    0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,
    1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,
    1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,
    2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,
    1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,
    2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,
    2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,
    3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8
}

Definition at line 138 of file bmfunc.h.


The documentation for this struct was generated from the following file:
Generated on Sun Aug 5 14:12:40 2007 for BitMagic by  doxygen 1.4.1