boost::capy::work_guard::work_guard

Move constructor.

Synopsis

work_guard(work_guard&& other) noexcept;

Description

Transfers work ownership from other to *this. Does not call on_work_started() or on_work_finished().

Exception Safety

No‐throw guarantee.

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