Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dcl.fct.def.coroutine] Add missing 'noexcept' for final_suspend. #4201

Merged
merged 1 commit into from Sep 17, 2020

Conversation

jensmaurer
Copy link
Member

The invocation of final_suspend is guaranteed to be non-throwing,
thus final_suspend in the example needs to be declared 'noexcept'.

Fixes #4200

The invocation of final_suspend is guaranteed to be non-throwing,
thus final_suspend in the example needs to be declared 'noexcept'.
@jensmaurer jensmaurer added this to the C++20 milestone Sep 16, 2020
@zygoloid zygoloid merged commit ea3ff76 into cplusplus:master Sep 17, 2020
@zygoloid
Copy link
Member

Merged to c++20 in 7309ca0

@jensmaurer jensmaurer deleted the c36 branch September 17, 2020 05:50
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.

[dcl.fct.def.coroutine] p11 Missing "noexcept" on final_suspend in example
3 participants