std::swap(std::function)
Aus cppreference.com
<metanoindex/>
<tbody> </tbody> template< class R, class Args... > void swap( function<R(Args...)> &lhs, function<R(Args...)> &rhs ); |
||
Überlädt die std::swap Algorithmus für std::function. Exchanges den Zustand der
lhs mit der rhs. Effektiv nennt lhs.swap(rhs) .Original:
Overloads the std::swap algorithm for std::function. Exchanges the state of
lhs with that of rhs. Effectively calls lhs.swap(rhs).The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Parameter
| lhs, rhs | - | polymorphe Funktion Wrapper, deren Zustände zu tauschen
Original: polymorphic function wrappers whose states to swap The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
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.
You can help to correct and verify the translation. Click here for instructions.
Ausnahmen
(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.
You can help to correct and verify the translation. Click here for instructions.
Beispiel
| This section is incomplete Reason: no example |
