Skip to content

Commit 816b12a

Browse files
burblebeetkoeppe
authored andcommitted
LWG4445 sch_ must not be in moved-from state
Fixes NB US 239-367 (C++26 CD).
1 parent 81fe012 commit 816b12a

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
@@ -7001,6 +7001,9 @@
70017001
&& @\libconcept{scheduler}@<Sch>
70027002
explicit task_scheduler(Sch&& sch, Allocator alloc = {});
70037003

7004+
task_scheduler(const task_scheduler&) = default;
7005+
task_scheduler& operator=(const task_scheduler&) = default;
7006+
70047007
@\exposid{ts-sender}@ schedule();
70057008

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

0 commit comments

Comments
 (0)