boost::capy::work_guard::work_guard
Copy constructor.
Synopsis
Declared in <boost/capy/ex/work_guard.hpp>
work_guard(work_guard const& other) noexcept;
Description
Creates a new work guard holding work on the same executor. Calls on_work_started() on the executor.
Postconditions
-
`owns_work() == other.owns_work()`
-
`executor() == other.executor()`
Parameters
| Name | Description |
|---|---|
other |
The work guard to copy from. |
Created with MrDocs