Rule: Factory ownership convention changed¶
Canonical rule slug: factory-ownership-convention-changed. ← back to all rules
A function returning a raw pointer keeps its declaration, but who owns the pointee changes (caller-owned new object versus library-owned shared object).
Canonical demonstration¶
- case232_factory_ownership_convention_changed — Factory Ownership Convention Changed (✅ NO_CHANGE)