Tagged articles

runtime polymorphism

1 articles · Page 1 of 1
Deepin Linux
Deepin Linux
Jun 26, 2026 · Fundamentals

Mastering C++ vtable internals: Demystifying polymorphism

This article explains how C++ implements polymorphism through virtual tables and virtual pointers, walks through their generation, memory layout, single‑ and multiple‑inheritance scenarios, distinguishes compile‑time and runtime polymorphism, and shows practical guidelines for when to use or avoid polymorphic designs.

C#compile-time polymorphisminheritance
0 likes · 28 min read
Mastering C++ vtable internals: Demystifying polymorphism