Skip to content

Rule: Secondary vtable group changed

Canonical rule slug: secondary-vtable-group-changed. ← back to all rules

A secondary vtable under multiple inheritance changes shape, so dispatch through a non-primary base lands on the wrong slot.

Canonical demonstration