◐ Shell
clean mode source ↗

std::packaged_task::swap – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

void swap( packaged_task& other );

(seit C++11)

Exchanges the shared states and stored tasks of *this and other.

Parameter

other - packaged task whose state to swap with

Rückgabewert

(None)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ausnahmen

Siehe auch

spezialisiert die std::swap Algorithmus

Original:

specializes the std::swap algorithm

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]