Skip to content

Commit a0a177e

Browse files
committed
LWG4461 stop-when needs to evaluate unstoppable tokens
Fixes US 226-345 (C++26 CD).
1 parent cb37a9f commit a0a177e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/exec.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5172,7 +5172,8 @@
51725172
if \tcode{remove_cvref_t<decltype((token))>} models
51735173
\libconcept{unstoppable_token} then
51745174
\tcode{\exposid{stop-when}(\brk{}sndr, token)} is expression-equivalent to
5175-
\tcode{sndr}.
5175+
\tcode{(void)token, sndr},
5176+
except that \tcode{token} and \tcode{sndr} are indeterminately sequenced.
51765177

51775178
\item
51785179
Otherwise,

0 commit comments

Comments
 (0)