ProgramMax / max

max is a tool belt for C++
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Git rid of the Bits# classes #144

Closed ProgramMax closed 4 years ago

ProgramMax commented 4 years ago

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.