promise::operator= Operator

Transfers the associated asynchronous state from a specified promise object.

promise& operator=(
   promise&& Other
) _NOEXCEPT;

Other

A promise object.

This operator transfers the associated asynchronous state from Other. After the transfer, Other is empty.

Header: future

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft