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

2024-12-19


970. Consistent use of “appertain” and “apply”

Section: 9.12  [dcl.attr]     Status: CD2     Submitter: Daveed Vandevoorde     Date: 28 September, 2009

[Voted into WP at March, 2010 meeting.]

The terms “appertain” and “apply” are used in different ways in different subsections of 9.12 [dcl.attr]. A thorough editorial sweep of the entire section is needed to regularize their usage.

Proposed resolution (October, 2009):

  1. Change 9.12.1 [dcl.attr.grammar] paragraph 4 as follows:

  2. ...If an attribute-specifier that appertains to some entity or statement contains an attribute that does not is not allowed to apply to that entity or statement, the program is ill-formed...
  3. Change 9.12.2 [dcl.align] paragraph 1 as follows:

  4. ...The attribute can may be applied to a variable...
  5. Change 9.12.11 [dcl.attr.noreturn] paragraph 1 as follows:

  6. ...The attribute applies may be applied to the declarator-id in a function declaration...
  7. Change _N3225_.7.6.4 [dcl.attr.final] paragraph 1 as follows:

  8. ...The attribute applies may be applied to class definitions...
  9. Change _N3225_.7.6.5 [dcl.attr.override] paragraph 1 as follows:

  10. ...The attribute applies may be applied to virtual member functions...
  11. Change _N3225_.7.6.5 [dcl.attr.override] paragraph 3 as follows:

  12. ...The attribute applies may be applied to class members...
  13. Change _N3225_.7.6.5 [dcl.attr.override] paragraph 5 as follows:

  14. ...The attribute applies may be applied to a class definition.
  15. Change 9.12.4 [dcl.attr.depend] paragraph 1 as follows:

  16. ...The attribute applies may be applied to the declarator-id of a parameter-declaration... The attribute may also applies be applied to the declarator-id of a function declaration...