Rule: Internal type embedded by value¶
Canonical rule slug: detail-embedded-by-value. ← back to all rules
A public type holds an internal type by value, so the internal type's size becomes part of the public ABI.
Canonical demonstration¶
- case75_detail_embedded_by_value — Internal
detail::Struct Embedded by Value (🔴 BREAKING)