Tag Archives: bit-twiddling

(More) Portable BitFields Using C++11

There are lots of reasons to using C++’s bit field feature. Perhaps you need a more compact way to represent your data structures, maybe you need to use them interact with hardware, or if you’re writing an emulator, maybe you want to use them to efficiently represent the hardware that you’re emulating. The list goes on…

Continue reading