The Bits# classes were supposed to represent a specific bit width and allow for a user-defined literal. But there are already types like uint32_t with construction macros like UINT32_C(). So the classes are unneeded.
The other functions such as BitScanForward() and SwapEndian() can be moved to free functions that work on those other types.
The Bits# classes were supposed to represent a specific bit width and allow for a user-defined literal. But there are already types like uint32_t with construction macros like UINT32_C(). So the classes are unneeded.
The other functions such as BitScanForward() and SwapEndian() can be moved to free functions that work on those other types.