Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lewissbaker
Copy link

For paper P1477R0.

@GorNishanov
Copy link
Owner

Also need to update [await.expr] to strip out mention of final_suspend

Lewis Baker added 3 commits February 7, 2019 13:51
The final-suspend point is no longer defined in terms of co_await
so this exclusion is not required.
…point.

This is already covered by normative text in description of `coroutine_handle::resume()`.
try { @\textit{F}@ } catch(...) { @\textit{p}@.unhandled_exception(); }
@\textit{final_suspend}@:
co_await @$p$@.final_suspend(); // final suspend point
// final suspend point
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this still imply that the promise object and frame would be destructed if an exception was thrown from call to final_suspend()? Do we need to add some more wording to clarify that this is not the case?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants