NY
nyk/libBitOption
This is a zero-cost, header-only abstraction library for managing and manipulating generic fixed-width bit fields. It provides several macros that will work with integer types of any size, including char, uint8_t, uint16_t, uint32_t and uint64_t bit fields.