#035 – How to use std::bitset for EFFORTLESS bit manipulation
Introduction On modern architectures, the smallest unit of memory is a byte. However, if we’re storing a bool, using a byte of memory to store it as a bit (pun intended) is wasteful. The other 7 bits are unused. Additionally,…