This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115d. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-10-26


2858. Declarative nested-name-specifiers and pack-index-specifiers

Section: 7.5.5.3  [expr.prim.id.qual]     Status: accepted     Submitter: Krystian Stasiowski     Date: 2024-02-06

[Accepted at the June, 2024 meeting.]

(From submission #499.)

Subclause 7.5.5.3 [expr.prim.id.qual] paragraph 2 specifies:

... A declarative nested-name-specifier shall not have a decltype-specifier. ...

This should have been adjusted by P2662R3 (Pack Indexing) to read computed-type-specifier.

Proposed resolution (approved by CWG 2024-04-05):

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

... A declarative nested-name-specifier shall not have a decltype-specifier computed-type-specifier. ...

CWG 2024-06-26

This is not a DR.