On 3/15/24 18:09, Marc Mutz via Development wrote:
I like simple rules. "Overrides should have the same access level as the initial virtual function." is a simple rule.
But it makes no sense in general. The base class is the interface, and overrides should have the least possible visibility for their purpose.
Christian -- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development