Class Layout in C++ - Memory Structure and Compiler Optimization
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it Explore the intricacies of class layout in C++ with this informative conference talk from Meeting C++ 2023. Delve into the compiler's handling of classes, memory representation, and performance implications. Gain insights into surprising rules and behaviors that novice programmers might encounter. Examine C++ documentation to understand compiler permissions, define key terms, and discover tools for peeking under the hood of your code. Follow along with simple examples that demonstrate concepts in action. While beginner-friendly, even experienced programmers may uncover valuable nuggets of information. Note that advanced topics like virtual inheritance and vtable pointers are not covered in this presentation.