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

2025-10-24


3092. base-specifiers are not "declared"

Section: 9.13.12  [dcl.attr.annotation]     Status: tentatively ready     Submitter: US     Date: 2025-10-01

N5028 comment US 41-079

A base-specifier is not declared and thus does not have a declaration.

Proposed resolution (approved by CWG 2025-10-24):

Change in 9.13.12 [dcl.attr.annotation] paragraph 1 as follows:

An annotation may be applied to a base-specifier or to any declaration of a type, type alias, variable, function, namespace, enumerator, base-specifier, or non-static data member.