Fast bit operations. More...
Classes | |
struct | bin_log_helper |
struct | bin_log_helper< integral_type, 0 > |
struct | bin_pow_wrapped |
struct | bin_pow_wrapped< integral_type, std::integral_constant< integral_type, 0 > > |
struct | bin_pow |
struct | bin_pow_pow |
struct | repeat_pattern_recurse |
struct | repeat_pattern_recurse< integral_type, size, size, pattern > |
struct | repeat_pattern |
struct | inversion_helper |
struct | inversion_helper< integral_type, 0 > |
struct | static_bin_log_wrapped |
struct | static_bin_log_wrapped< integral_type, std::integral_constant< integral_type, 1 > > |
struct | static_bin_log |
Functions | |
template<typename integral_type > | |
integral_type | bin_log (integral_type v) |
template<typename integral_type > | |
void | invert_bits (integral_type &v) |
template<typename integral_type > | |
integral_type | reset_msb (integral_type v) |
Fast bit operations.