This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 112e. See for the official list.


2279. Multiple attribute-specifiers in one attribute-list

Section: 9.12.1  [dcl.attr.grammar]     Status: NAD     Submitter: Richard Smith     Date: 2016-06-27

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.

Rationale (February, 2017):

The effects of such attributes are implementation-defined.