[Polish] The C++ Club - 14. Multiple Inheritance and virtual base classes

Опубликовано: 17 Июль 2026
на канале: JBGraphics
353
15

Multiple inheritance doesn't have to be avoided. We also discuss the Diamond Problem, virtual base classes, name lookup, overload resolution, dynamic_cast and the memory layout of classes with inheritance.

00:00 - Introduction
00:15 - Dynamic Types
02:23 - dynamic_cast
06:41 - Multiple Inheritance
09:48 - Using Declaration
10:48 - Name lookup
18:32 - Overload Resolution
20:18 - Base class initialization
26:11 - Practical Uses of Multiple Inheritance
31:13 - Memory Layout
43:46 - The Deadly Diagram of Death (real name)
54:37 - Virtual Inheritance

#programming #oop #polymorphism