Skip to content

Commit 1df1d7f

Browse files
committed
LWG4445 sch_ must not be in moved-from state
Fixes US 239-367 (C++26 CD).
1 parent 3859bf9 commit 1df1d7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/exec.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7005,6 +7005,9 @@
70057005
&& @\libconcept{scheduler}@<Sch>
70067006
explicit task_scheduler(Sch&& sch, Allocator alloc = {});
70077007

7008+
task_scheduler(const task_scheduler&) = default;
7009+
task_scheduler& operator=(const task_scheduler&) = default;
7010+
70087011
@\exposid{ts-sender}@ schedule();
70097012

70107013
friend bool operator==(const task_scheduler& lhs, const task_scheduler& rhs)

0 commit comments

Comments
 (0)