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
Ezt a böngészőt már nem támogatjuk.
Frissítsen a Microsoft Edge-re, hogy kihasználhassa a legújabb funkciókat, a biztonsági frissítéseket és a technikai támogatást.
Exchanges the associated asynchronous state with that of a specified object.
void swap(packaged_task& Right) _NOEXCEPT;
Header: future
Namespace: std