Title
Duplicate standard attributes
Status
extension
Section
10.6 [dcl.attr]
Submitter
Aaron Ballman

Created on 2014-04-15.00:00:00 last changed 73 months ago

Messages

Date: 2014-06-15.00:00:00

Rationale (June, 2014):

EWG should determine the desired outcome for this question.

Date: 2014-04-15.00:00:00

The standard attributes noreturn, carries_dependency, and deprecated all specify that they cannot appear more than once in an attribute-list, but there is no such prohibition if they appear in separate attribute-specifiers within a single attribute-specifier-seq. Since intuitively these cases are equivalent, they should be treated the same, accepting duplicates in both or neither.

History
Date User Action Args
2014-07-07 00:00:00adminsetmessages: + msg5122
2014-07-07 00:00:00adminsetstatus: open -> extension
2014-04-15 00:00:00admincreate