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

Thiago Macieira thiago.macieira at intel.com
Wed Feb 21 20:28:46 CET 2024


On Wednesday, 21 February 2024 10:56:49 PST Edward Welbourne via Development 
wrote:
> (Incidentally, the ways I can think of to say "has no name" tend to
> suffer from some degree of precedent as "has a name but it has not been
> disclosed" - the anonymous author of a pamphlet, the unnamed person who
> reported a problem.  I'm currently unable to think of such a precedent
> for "nameless", but I suspect that's only that I can't currently think
> of it.  Then again, if a namespace with no name actually does have a
> secret name, I guess that just matches the linguistic baggage.)

It's an unnamed namespace, not anonymous namespace.

There's such a thing as anonymous union, though.

-- 
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/8c9ed118/attachment.bin>


More information about the Development mailing list