Skip to content

Rule: Virtual function became pure

Canonical rule slug: pure-virtual-added. ← back to all rules

A virtual function becomes pure, so existing derived classes in consumer code become abstract and can no longer be instantiated.

Canonical demonstration