Title
Rephrase paragraph to present only one provision per sentence
Status
ready
Section
6.8.6.2 [basic.stc.static]
Submitter
ISO/CS

Created on 2026-10-31.00:00:00 last changed 1 week ago

Messages

Date: 2026-11-19.11:23:11

Proposed resolution (approved by CWG 2026-11-19):

[ Note: If a variable with static storage duration has initialization or a destructor with side effects, it shall not cannot be eliminated even if it appears to be unused, except that a class object or its copy/move may can be eliminated as specified in 11.9.6 [class.copy.elision]. -- end note]
Date: 2026-11-19.11:23:11

Possible resolution [SUPERSEDED]:

If a variable with static storage duration has initialization or a destructor with side effects, it shall not be eliminated even if it appears to be unused, except that a class object or its copy/move may be eliminated as specified in 11.9.6 [class.copy.elision].
Date: 2026-10-31.00:00:00

C++26 DIS comment **-057

Subclause 6.8.6.2 [basic.stc.static] paragraph 2 should present only one provision per sentence.

History
Date User Action Args
2026-11-19 11:23:11adminsetstatus: open -> ready
2026-11-19 09:19:50adminsetmessages: + msg8716
2026-11-19 09:19:50adminsetmessages: + msg8715
2026-10-31 00:00:00admincreate