Title
Non-top-level namespace posix shouldn't be reserved
Status
new
Section
[namespace.posix]
Submitter
Jiang An

Created on 2023-04-29.00:00:00 last changed 11 months ago

Messages

Date: 2023-05-24.14:33:00

Proposed resolution:

This wording is relative to N4944.

  1. Modify [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 namespace posix unless otherwise specified. The top-level namespace posix is reserved for use by ISO/IEC/IEEE 9945 and other POSIX standards.

Date: 2023-05-15.00:00:00

[ 2023-05-24; Reflector poll ]

Set priority to 3 after reflector poll.

Date: 2023-04-29.00:00:00

The namespace posix is made reserved by N2667.

It is clear in the paper that only ::posix is intendedly reserved, but the current normative wording is not clear enough on this (see also LWG 3926).

History
Date User Action Args
2023-05-24 14:33:00adminsetmessages: + msg13576
2023-04-30 16:38:39adminsetmessages: + msg13538
2023-04-29 00:00:00admincreate