Title
Postcondition result bindings as declarations
Status
tentatively ready
Section
6.1 [basic.pre]
Submitter
Yin Xinyu

Created on 2026-09-22.00:00:00 last changed 5 days ago

Messages

Date: 2026-10-16.19:06:14

Proposed resolution (approved by CWG 2026-10-16):

  1. Change in 6.1 [basic.pre] bullet 5.4 as follows:

    Every name is introduced by a declaration, which is a
    • ...
    • identifier in a result-name-introducer in a postcondition assertion (9.4.2 [dcl.contract.res]),
    • ...
  2. Change in 9.4.2 [dcl.contract.res] paragraph 1 as follows:

    The result-name-introducer of a postcondition-specifier is a declaration. The result-name-introducer introduces the identifier as the name of a result binding of the associated function. ...
Date: 2026-09-22.00:00:00

(From submission #1012.)

There is a conflict between 6.1 [basic.pre] bullet 5.4 and 9.4.2 [dcl.contract.res] paragraph 1.

History
Date User Action Args
2026-10-16 19:06:14adminsetstatus: open -> tentatively ready
2026-10-05 18:39:21adminsetmessages: + msg8697
2026-09-22 00:00:00admincreate