[Development] Can we remove recommendation against unnamed namespaces from Qt coding conventions?

Thiago Macieira thiago.macieira at intel.com
Wed Feb 21 17:36:39 CET 2024


On Wednesday, 21 February 2024 08:26:52 PST Jøger Hansegård via Development 
wrote:
> Our Qt coding conventions (https://wiki.qt.io/Coding_Conventions) has a
> statement on the use of unnamed (anonymous) namespaces. As far as I
> understand, this statement is now outdated. Can we delete this statement
> and lean on Cpp Core Guidelines Cpp Core Guidelines SF.22 instead
> https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rs-unnamed2?
> Or do we need a Qt specific guideline on this topic?

There doesn't seem to be a semantic difference. Are you proposing we simply 
replace our wording to point to SF22 or am I missing something?

-- 
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/20240221/18fdbdf8/attachment-0001.bin>


More information about the Development mailing list