destructors spec: be more precise about temporaries
This commit is contained in:
parent
b9c15371a3
commit
c9c8fa99cc
1 changed files with 3 additions and 1 deletions
|
|
@ -326,7 +326,9 @@ not destroyed at the scope exit, but at the proc exit.
|
|||
|
||||
f(...)
|
||||
------------------------ (function-call)
|
||||
(let tmp = f(...); tmp)
|
||||
(let tmp;
|
||||
bitwiseCopy tmp, f(...);
|
||||
tmp)
|
||||
finally: `=destroy`(tmp)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue