Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Class Layout in C++ - Memory Structure and Compiler Optimization

Meeting Cpp via YouTube

Overview

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.

Syllabus

Class Layout - Miloš Anđelković - Meeting C++ 2023

Taught by

Meeting Cpp

Reviews

Start your review of Class Layout in C++ - Memory Structure and Compiler Optimization

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.