Construct one std::experimental::packaged_task
object from another,
transferring ownership of the asynchronous result and task associated
with the other std::experimental::packaged_task
object to the
newly-constructed instance.
packaged_task(packaged_task&& other);
Constructs a new std::experimental::packaged_task
instance.
The asynchronous result and task associated with other
prior to the invocation
of the constructor is associated with the newly-constructed std::experimental::packaged_task
object.
other
has no associated
asynchronous result or task.
Nothing.
#include <experimental/future>