Created on 2001-05-01.00:00:00 last changed 161 months ago
[Moved to DR at October 2002 meeting.]
Proposed resolution (10/01):
Add after the end of 11.3 [class.name] paragraph 3:
When a nested-name-specifier is specified in a class-head or in an elaborated-type-specifier, the resulting qualified name shall refer to a previously declared member of the class or namespace to which the nested-name-specifier refers, and the member shall not have been introduced by a using-declaration in the scope of the class or namespace nominated by the nested-name-specifier.
Notes from 10/01 meeting:
The sentiment was that this should be required on class definitions, but not on elaborated type specifiers in general (which are references, not declarations). We should also make sure we consider explicit instantiations, explicit specializations, and friend declarations.
Although 9.3.4 [dcl.meaning] requires that a declaration of a qualified-id refer to a member of the specified namespace or class and that the member not have been introduced by a using-declaration, it applies only to names declared in a declarator. It is not clear whether there is existing wording enforcing the same restriction for qualified-ids in class-specifiers and elaborated-type-specifiers or whether additional wording is required. Once such wording is found/created, the proposed resolution of issue 275 must be modified accordingly.
|2008-10-05 00:00:00||admin||set||status: wp -> cd1|
|2003-04-25 00:00:00||admin||set||status: dr -> wp|
|2002-11-08 00:00:00||admin||set||messages: + msg776|
|2002-11-08 00:00:00||admin||set||status: ready -> dr|
|2002-05-10 00:00:00||admin||set||status: review -> ready|
|2001-11-09 00:00:00||admin||set||messages: + msg558|
|2001-11-09 00:00:00||admin||set||messages: + msg557|
|2001-11-09 00:00:00||admin||set||status: open -> review|