[Development] API style guide: scoped enum or not?

Sune Vuorela nospam at vuorela.dk
Mon May 8 09:21:32 CEST 2023

On 2023-05-04, Marc Mutz via Development <development at qt-project.org> wrote:
> So, enum-backed APIs taking int will have to be ported to take the enum 
> instead. On the plus side, you get type-richer and safer APIs.

How would you do the extensions (e.g. user roles or user events) 
if you convert to enums ?


More information about the Development mailing list