Skip to content

Commit db62123

Browse files
authored
Merge 2025-06 LWG Motion 21
P3149R11 async_scope - Creating scopes for non-sequential concurrency
2 parents acbf874 + bcc4c74 commit db62123

File tree

3 files changed

+2312
-831
lines changed

3 files changed

+2312
-831
lines changed

source/exceptions.tex

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,8 +1126,17 @@
11261126
when \tcode{unhandled_stopped} is called on
11271127
a \tcode{with_awaitable_senders<T>} object\iref{exec.with.awaitable.senders}
11281128
whose continuation is not a handle to a coroutine
1129-
whose promise type has an \tcode{unhandled_stopped} member function.
1129+
whose promise type has an \tcode{unhandled_stopped} member function, or
11301130

1131+
\item%
1132+
when an object \tcode{scope} of type
1133+
\tcode{std::execution::simple_counting_scope} or
1134+
\tcode{std::execution::counting_scope}
1135+
is destroyed and
1136+
\tcode{scope.\exposid{state}} is not equal to
1137+
\exposid{joined},
1138+
\exposid{unused}, or
1139+
\exposid{unused-and-closed}\iref{exec.simple.counting.ctor}.
11311140
\end{itemize}
11321141

11331142
\end{note}

0 commit comments

Comments
 (0)