Title
Allow inline namespaces within namespace std for implementations
Status
c++11
Section
[contents]
Submitter
Howard Hinnant

Created on 2009-03-15.00:00:00 last changed 161 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [contents] p2:

All library entities except macros, operator new and operator delete are defined within the namespace std or namespaces nested within namespace std. It is unspecified whether names declared in a specific namespace are declared directly in that namespace, or in an inline namespace inside that namespace. [Footnote: This gives implementers freedom to support multiple configurations of the library.]

Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

Bill believes there is strictly speaking no need to say that because no portable test can detect the difference. However he agrees that it doesn't hurt to say this.

Move to Tentatively Ready.

Date: 2009-05-09.00:00:00

[ 2009-05-09 Alisdair improves the wording. ]

Date: 2010-10-21.18:28:33

[ Summit: ]

adopt UK words (some have reservations whether it is correct)

Date: 2012-10-21.13:19:07

Addresses UK 168 [CD1]

We should make it clear (either by note or normatively) that namespace std may contain inline namespaces, and that entities specified to be defined in std may in fact be defined in one of these inline namespaces. (If we're going to use them for versioning, eg when TR2 comes along, we're going to need that.)

Replace "namespace std or namespaces nested within namespace std" with "namespace std or namespaces nested within namespace std or inline namespaces nested directly or indirectly within namespace std"

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg556
2010-10-21 18:28:33adminsetmessages: + msg555
2010-10-21 18:28:33adminsetmessages: + msg554
2010-10-21 18:28:33adminsetmessages: + msg553
2009-03-15 00:00:00admincreate