Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardC++multiple and virtual inheritance layoutSingle-choice MCQ

In this single-inheritance polymorphic call, what does the compiler insert at the call site under the Itanium ABI, and where does the `this` pointer adjustment (if any) come from?

struct A { virtual void f(); }; struct B : A { void f() override; }; void call(A* a) { a->f(); }