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