Constructs a @c executor_work_guard object for the specified executor. * Stores a copy of @c e and calls on_work_started() on it. */
| 54 | * Stores a copy of @c e and calls <tt>on_work_started()</tt> on it. |
| 55 | */ |
| 56 | explicit executor_work_guard(const executor_type& e) ASIO_NOEXCEPT |
| 57 | : executor_(e), |
| 58 | owns_(true) |
| 59 | { |
| 60 | executor_.on_work_started(); |
| 61 | } |
| 62 | |
| 63 | /// Copy constructor. |
| 64 | executor_work_guard(const executor_work_guard& other) ASIO_NOEXCEPT |
nothing calls this directly
no test coverage detected