Skip to content

Commit 5ba11ca

Browse files
author
Dawn Perchik
committed
LWG2276 Missing requirement on std::promise::set_exception
1 parent fb9f4c5 commit 5ba11ca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/threads.tex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3973,6 +3973,9 @@
39733973
\end{itemdecl}
39743974

39753975
\begin{itemdescr}
3976+
\pnum
3977+
\requires \tcode{p} is not null.
3978+
39763979
\pnum
39773980
\effects atomically stores the exception pointer \tcode{p} in the shared state
39783981
and makes that state ready~(\ref{futures.state}).
@@ -4033,6 +4036,9 @@
40334036
\end{itemdecl}
40344037

40354038
\begin{itemdescr}
4039+
\pnum
4040+
\requires \tcode{p} is not null.
4041+
40364042
\pnum
40374043
\effects Stores the exception pointer \tcode{p} in the shared state without
40384044
making that state ready immediately. Schedules that state to be made ready when

0 commit comments

Comments
 (0)