I am sorry it seems it satisfies the following
 
(2.1) — a namespace-scope declaration declared within an export-declaration, or
 
 
You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or http://ru.stackoverflow.com
 
 
Вторник, 15 февраля 2022, 0:33 +03:00 от Vladimir Grigoriev via Std-Discussion <std-discussion@lists.isocpp.org>:
 
In the section «10.2 Export declaration» of the C++ 20 Standard there is written
 
2 A declaration is exported if it is
(2.2) — a namespace-definition that contains an exported declaration, or
 
But then there is followed an example
 
export namespace N { } // OK
 
but this namespace definition does not contain an exported declaration.  It is an empty namespace definition.
 
So is there a contradiction?
 
--
Std-Discussion mailing list
Std-Discussion@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-discussion