Skip to content

Rule: Member access level changed

Canonical rule slug: access-level. ← back to all rules

A class member moves between public, protected, and private, changing what compiles against the header and, for some compilers, member ordering.

Canonical demonstration