Tag Archives: padding

VC++ 2013 class Layout Change and Wasted Space

The VC++ compiler generally maintains a high degree of binary compatibility between compiler versions, allowing objects to be passed between DLLs made with different compiler versions. However VS 2013 made changes to the layouts of some classes in 64-bit builds. … Continue reading

Posted in Programming, Visual Studio | Tagged , , | 13 Comments

Bit-field Packing with Visual C++

I’ve been spending too much time lately working with bit-fields and learning how they work. The C++ standard gives implementers a lot of latitude in how bit-fields should be laid out, and the VC++ documentation doesn’t go into a lot … Continue reading

Posted in Programming, Visual Studio | Tagged , , , | 9 Comments