Rule: Internal base class leaks through a public type¶
Canonical rule slug: detail-base-class-changed. ← back to all rules
A public class inherits from an internal one, so a change to the internal base relocates the public object's members.
Canonical demonstration¶
- case74_detail_base_class_changed — Internal
detail::base class layout change leaks via public API (🔴 BREAKING)