Christopher Kohlhoff
619cd04dbf
Add converting move construction and assignment to basic_waitable_timer.
...
This change enables move construction and assignment between different timer
types, provided the executor types are convertible. For example:
basic_waitable_timer<
clock_type,
traits_type,
io_context::executor_type
> timer1(my_io_context);
basic_waitable_timer<
clock_type,
traits_type,
executor // polymorphic wrapper
> timer2(std::move(timer1));
2020-06-22 20:50:05 +10:00
..
2020-04-08 18:05:13 +10:00
2020-04-07 11:15:42 +10:00
2020-04-08 18:05:13 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-06-22 20:42:56 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:44:28 +10:00
2020-04-08 18:05:13 +10:00
2020-04-08 18:05:13 +10:00
2020-04-08 18:05:13 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-06-22 20:45:09 +10:00
2020-04-08 18:05:13 +10:00
2020-04-07 11:15:42 +10:00
2020-04-08 18:05:13 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-08 18:05:13 +10:00
2020-04-08 18:05:13 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-08 18:05:13 +10:00
2020-04-08 18:05:13 +10:00
2020-04-08 18:05:13 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-08 18:05:13 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-06-22 20:50:05 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-07 11:15:42 +10:00
2020-04-08 18:05:13 +10:00
2020-04-08 18:05:13 +10:00