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

FR066 09.05.4 Make unhandled_exception in promise types optional #65

Closed
wg21bot opened this issue Oct 23, 2019 · 5 comments
Closed

FR066 09.05.4 Make unhandled_exception in promise types optional #65

wg21bot opened this issue Oct 23, 2019 · 5 comments
Labels
coroutines Coroutines EWG Evolution
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Oct 23, 2019

Defining a coroutine’s promise type forces people who do not care about exceptions to write more boilerplate than necessary.

Proposed change:
std::coroutine_traits<....>::promise_type::unhandled_exception should be optional and equivalent to exception re-throw when not declared.

@wg21bot wg21bot added the EWG Evolution label Oct 23, 2019
@wg21bot

This comment has been minimized.

@wg21bot wg21bot added the coroutines Coroutines label Oct 23, 2019
@jfbastien

This comment has been minimized.

@jfbastien

This comment has been minimized.

@jfbastien jfbastien reopened this Nov 4, 2019
@jfbastien
Copy link
Collaborator

Will be addressed by resolution to #61.

@jensmaurer
Copy link
Member

Duplicate of #61

@jensmaurer jensmaurer marked this as a duplicate of #61 Nov 9, 2019
@jensmaurer jensmaurer added this to the CD C++20 milestone Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coroutines Coroutines EWG Evolution
Projects
None yet
Development

No branches or pull requests

3 participants