Title
Declarative nested-name-specifier in explicit instantiation
Status
tentatively ready
Section
7.5.5.3 [expr.prim.id.qual]
Submitter
Jens Maurer

Created on 2025-03-14.00:00:00 last changed yesterday

Messages

Date: 2025-09-13.08:02:19

Proposed resolution (approved by CWG 2025-09-12):

Change in 7.5.5.3 [expr.prim.id.qual] paragraph 2 as follows:

A nested-name-specifier is declarative if it is part of
  • a class-head-name (11.1 [class.pre]),
  • an enum-head-name (9.8.1 [dcl.enum]),
  • a qualified-id that is the id-expression of a declarator-id (9.3.1 [dcl.decl.general]), or
  • an elaborated-type-specifier of an explicit instantiation (13.9.3 [temp.explicit]), or
  • a declarative nested-name-specifier.
Date: 2025-03-14.00:00:00

Explicit instantiations with a nested-name-specifier do not seem to be declarative, but should be.

History
Date User Action Args
2025-09-13 08:02:19adminsetmessages: + msg8104
2025-03-14 00:00:00admincreate