packaged_task::swap Method
Exchanges the associated asynchronous state with that of a specified object.
void swap(packaged_task& Right) _NOEXCEPT;
Parameters
- Right
A packaged_task object.
Requirements
Header: future
Namespace: std
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Exchanges the associated asynchronous state with that of a specified object.
void swap(packaged_task& Right) _NOEXCEPT;
Header: future
Namespace: std