Skip to content

Commit 43a4a61

Browse files
author
Dawn Perchik
committed
LWG2523 std::promise synopsis shows two set_value_at_thread_exit()'s for no apparent reason
1 parent 5ba11ca commit 43a4a61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/threads.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3800,7 +3800,6 @@
38003800
void set_exception(exception_ptr p);
38013801

38023802
// setting the result with deferred notification
3803-
void set_value_at_thread_exit(const R& r);
38043803
void set_value_at_thread_exit(@\seebelow@);
38053804
void set_exception_at_thread_exit(exception_ptr p);
38063805
};
@@ -3814,7 +3813,8 @@
38143813
\pnum
38153814
The implementation shall provide the template \tcode{promise} and two specializations,
38163815
\tcode{promise<R\&>} and \tcode{promise<\brk{}void>}. These differ only in the argument type
3817-
of the member function \tcode{set_value}, as set out in its description, below.
3816+
of the member functions \tcode{set_value} and \tcode{set_value_at_thread_exit},
3817+
as set out in their descriptions, below.
38183818

38193819
\pnum
38203820
The \tcode{set_value}, \tcode{set_exception}, \tcode{set_value_at_thread_exit},

0 commit comments

Comments
 (0)