Skip to content

[2025-06 LWG Motion 34] P3552R3 Add a Coroutine Task #8032

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion source/exceptions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,10 @@
when \tcode{unhandled_stopped} is called on
a \tcode{with_awaitable_senders<T>} object\iref{exec.with.awaitable.senders}
whose continuation is not a handle to a coroutine
whose promise type has an \tcode{unhandled_stopped} member function.
whose promise type has an \tcode{unhandled_stopped} member function, or

\item%
when an exception is thrown from a coroutine \tcode{std::execution::task}\iref{exec.task} which doesn't support a \tcode{std::execution::set_error_t(std::execption_ptr)} completion.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
when an exception is thrown from a coroutine \tcode{std::execution::task}\iref{exec.task} which doesn't support a \tcode{std::execution::set_error_t(std::execption_ptr)} completion.
when an exception is thrown from a coroutine \tcode{std::execution::task}\iref{exec.task}
which doesn't support a \tcode{std::execution::set_error_t(std::exception_ptr)} completion.

This line is overly long, the paper has a typo that needs to be fixed up, and added \irefs should typically go into a separate fixup commit. I do like the extra \iref though.


\end{itemize}

Expand Down
Loading