Post #345 209 Aug 10, 2016, 22:08 UTC Forwarded from Syra's Techbinder http://preshing.com/20150324/safe-bitfields-in-cpp/Tags: #programming #Cpp Preshing Safe Bitfields in C++ In my cpp11-on-multicore project on GitHub, there’s a class that packs three 10-bit values into a 32-bit integer. I could have implemented it using traditional bitfields& …