Created on 2015-09-03.00:00:00 last changed 101 months ago
[ 2016-08-03 Chicago ]
This is related to 2532
Fri AM: Moved to Open
When a shared-state is released, it may be necessary to execute user defined code for the destructor of a stored value or exception. It is unclear whether the execution of said destructor constitutes an observable side effect.
While discussing N4445 in Lenexa, Nat Goodspeed pointed out that [futures.state]/5.1 does not explicitly mention the destruction of the result, so implementations should be allowed to release (or reuse) a shared state ahead of time under the "as-if" rule.
The standard should clarify whether the execution of destructors is a visible side effect of releasing a shared state.History | |||
---|---|---|---|
Date | User | Action | Args |
2016-08-06 20:44:18 | admin | set | messages: + msg8434 |
2016-08-06 20:44:18 | admin | set | status: new -> open |
2015-09-03 00:00:00 | admin | create |