Skip to content

Rule: Enumeration underlying type changed

Canonical rule slug: enum-underlying-size-changed. ← back to all rules

An enumeration's underlying type changes width, changing its size wherever it is stored and how it is passed.

Canonical demonstration