Skip to content

Rule: Class gained a non-virtual method

Canonical rule slug: class-gained-non-virtual-method. ← back to all rules

A released class gains an ordinary member function, adding an export without touching the record's size, alignment, or member offsets.

Canonical demonstration