A set of ancillary operations upon bits that constitute an integral values, such as compile-time bit inversion for indices, bit mask generation and so on. More...
Classes | |
struct | get_bit_mask_by_indices_value< T, IndicesOfBits > |
Defines a static data member holding an integral value which specifies a mask of bits set with respect to indices specified as the template parameters. More... | |
struct | inverse_bits_value< Value, IndicesOfBits > |
Defines a value field resolving to an integral value of unsigned type which holds an integral parameter Value with inverted bits, as specified by integral bit indices in a template parameter list. More... | |
Functions | |
template<unsigned... IndicesOfBits> | |
constexpr unsigned | inverse_bits (unsigned val) |
Inverses the specified bits of an integral parameter and returns the resulting value. More... | |
A set of ancillary operations upon bits that constitute an integral values, such as compile-time bit inversion for indices, bit mask generation and so on.