Skip to content

Commit 71bdc3d

Browse files
eisenwavetkoeppe
authored andcommitted
LWG4345 task::promise_type::return_value default template parameter
Fixes NB US 251-388 (C++26 CD).
1 parent b516df7 commit 71bdc3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/exec.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7430,7 +7430,7 @@
74307430
coroutine_handle<> unhandled_stopped() noexcept;
74317431

74327432
void return_void(); // present only if \tcode{is_void_v<T>} is \tcode{true}
7433-
template<class V>
7433+
template<class V = T>
74347434
void return_value(V&& value); // present only if \tcode{is_void_v<T>} is \tcode{false}
74357435

74367436
template<class E>

0 commit comments

Comments
 (0)