This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.
posix
shouldn't be reservedSection: 16.4.5.2.2 [namespace.posix] Status: New Submitter: Jiang An Opened: 2023-04-29 Last modified: 2023-05-24
Priority: 3
View all issues with New status.
Discussion:
The namespace posix
is made reserved by N2667.
::posix
is intendedly reserved,
but the current normative wording is not clear enough on this (see also LWG 3926(i)).
[2023-05-24; Reflector poll]
Set priority to 3 after reflector poll.
Proposed resolution:
This wording is relative to N4944.
Modify 16.4.5.2.2 [namespace.posix] as indicated:
-1- The behavior of a C++ program is undefined if it adds declarations or definitions to top-level namespace
posix
or to a namespace within that namespaceunless otherwise specified. The top-level namespaceposix
posix
is reserved for use by ISO/IEC/IEEE 9945 and other POSIX standards.