C++ Logo

std-discussion

Advanced search

Re: Exported declaration

From: Vladimir Grigoriev <vlad.moscow_at_[hidden]>
Date: Tue, 15 Feb 2022 00:35:04 +0300
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_at_[hidden]>:
>
>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?
>
>You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or http://ru.stackoverflow.com
>--
>Std-Discussion mailing list
>Std-Discussion_at_lists.isocpp.org
>https://lists.isocpp.org/mailman/listinfo.cgi/std-discussion
 

Received on 2022-02-14 21:35:10