[Development] Proposing to change https://wiki.qt.io/API_Design_Principles#Enums_in_classes to require scoped enums
Volker Hilsheimer
volker.hilsheimer at qt.io
Thu Jan 16 13:11:32 CET 2025
> On 16 Jan 2025, at 11:58, Marc Mutz via Development <development at qt-project.org> wrote:
>
> Hi,
>
> Groundhog Day...
>
> Like every API review, so also in 6.9, we have the discussions between
> proponents of scoped vs. unscoped enums in class scope.
Hi Marc,
Taking this a step back:
I recall that you agreed at the Qt Contributors Summit to transfer those “Things to look out for in reviews” that we agree to be mandatory into a QUIP, so that it gets the necessary authority (and change process) that allow us to enforce them (and ideally also start building tooling to identify and comment on deviations at time of change, rather than at time of header review).
Let’s start doing that, please, otherwise those email threads will run a repeat at every future header review process.
Anything that’s not captured in that QUIP or otherwise established as a standing practice (by overwhelming existing code) is ultimately maintainer’s discretion.
Volker
More information about the Development
mailing list