That should be corrected as well. The standard wording doesn't say that unnamed namespaces have internal linkage. Compilers implementing it by creating local symbols for entities within is an implementation detail.


On 6 September 2022 14:47:34 BST, Jason McKesson via Std-Proposals <std-proposals@lists.isocpp.org> wrote:
On Tue, Sep 6, 2022 at 5:05 AM Zopolis0 via Std-Proposals
<std-proposals@lists.isocpp.org> wrote:

I misread some of it, but does this part not help?
(i.e. being able to call export namespace {} without wrapping the file in it)

export namespace {} // error: does not introduce any namesnamespace has internal linkage

In the new proposal, that's clearly an error. It crossed out the
reason "does not introduce any names", but it provides a new reason:
unnamed namespaces having internal linkage.
--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals