tudocomp
– The TU Dortmund Compression Framework

Yields the position of the most significant bit for the template integer type. More...
#include <util.hpp>
Yields the position of the most significant bit for the template integer type.
In some scenarios (e.g. rank and select), where bit order and boundaries of a certain type are relevant, it is assumed that the "first" bit is the least significant one at position 0, while the "last" bit is the most significant one.
The latter can be retrieved from the static pos
constant expression within this struct.
int_t  the integer type in question 
Definition at line 241 of file include/tudocomp/util.hpp.