Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

vptr

A hidden pointer inside each object of a class with virtual functions, pointing to its class's vtable; usually the object's first 8 bytes.

The vptr is an implementation-provided pointer stored in each polymorphic object (at offset 0 in both the Itanium and Microsoft ABIs for single inheritance), set by the constructor to the class's vtable.

Read the full section →