Skip to content

Rule: Value ABI traits changed

Canonical rule slug: trivial-to-nontrivial. ← back to all rules

A type stops being trivially copyable or destructible, so it must now be passed indirectly rather than in registers.

Canonical demonstration