boost::capy::work_guard::work_guard
Move constructor.
Synopsis
Declared in <boost/capy/ex/work_guard.hpp>
work_guard(work_guard&& other) noexcept;
Description
Transfers work ownership from other to *this. Does not call on_work_started() or on_work_finished().
Postconditions
-
`owns_work()` equals the prior value of `other.owns_work()`
-
`other.owns_work() == false`
Parameters
| Name | Description |
|---|---|
other |
The work guard to move from. |
Created with MrDocs