Title
Incompete specification of types for declarators
Status
cd4
Section
9.3.4 [dcl.meaning]
Submitter
Richard Smith

Created on 2015-04-08.00:00:00 last changed 95 months ago

Messages

Date: 2015-09-15.00:00:00

Proposed resolution (September, 2015):

Change 9.3.4 [dcl.meaning] paragraph 2 as follows:

A static, thread_local, extern, register, mutable, friend, inline, virtual, constexpr, explicit, or typedef specifier applies directly to each declarator-id in an init-declarator-list or member-declarator-list; the type specified for each declarator-id depends on both the decl-specifier-seq and its declarator.
Date: 2016-02-15.00:00:00

[Adopted at the February, 2016 meeting.]

According to 9.3.4 [dcl.meaning]

A static, thread_local, extern, register, mutable, friend, inline, virtual, or typedef specifier applies directly to each declarator-id in an init-declarator-list; the type specified for each declarator-id depends on both the decl-specifier-seq and its declarator.

This list is missing constexpr and explicit. Also, this should apply, but doesn't, to member-declarator-lists.

History
Date User Action Args
2017-02-06 00:00:00adminsetstatus: tentatively ready -> cd4
2015-11-10 00:00:00adminsetmessages: + msg5602
2015-11-10 00:00:00adminsetstatus: drafting -> tentatively ready
2015-04-08 00:00:00admincreate