Title
Multiple attribute-specifiers in one attribute-list
Status
nad
Section
9.12.1 [dcl.attr.grammar]
Submitter
Richard Smith

Created on 2016-06-27.00:00:00 last changed 81 months ago

Messages

Date: 2017-02-15.00:00:00

Rationale (February, 2017):

The effects of such attributes are implementation-defined.

Date: 2022-11-20.07:54:16

P0028R4 contains this example:

  [[ using CC: opt(1), debug ]] void f() {} // Same as [[ CC::opt(1), CC::debug ]] void f() {}
  [[ using CC: opt(1)]][[ CC::debug ]] void g() {} // Okay (same effect as above).

However, there appears to be no normative justification for the claim that these two attribute-lists have the same effect.

History
Date User Action Args
2018-02-27 00:00:00adminsetmessages: + msg6016
2016-06-27 00:00:00admincreate