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

Thiago Macieira thiago.macieira at intel.com
Wed May 3 19:22:48 CEST 2023


On Wednesday, 3 May 2023 09:40:42 PDT Giuseppe D'Angelo via Development wrote:
>  To me it's a no brainer: any new enumeration
> added to Qt shall be an enum class.

I'd say that any new enumeration in the Qt namespace should be enum class, but 
enums in classes may not be so if they're sufficiently descriptive already.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230503/01ff373e/attachment.bin>


More information about the Development mailing list