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

2024-11-11


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.