The series continue.
C++ coroutines: How do I create a coroutine that terminates on an unhandled exception?
by Raymond Chen
From the article:
Last time, we saw that declaring a coroutine as noexcept doesn’t do what you think. The noexcept specific says that production of the coroutine does not throw an exception, but it says nothing about what happens during execution of the coroutine. If an exception occurs inside the coroutine, the promise’s unhandled_exception method decides what happens...
Add a Comment
Comments are closed.