std::swap(std::packaged_task)
De cppreference.com
< cpp | thread | packaged task
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| template< class Function, class Args... > void swap( packaged_task<Function(Args...)> &lhs, |
||
Se especializa en el algoritmo std::swap std::packaged_task. Intercambios del estado de
lhs con la de rhs. Efectivamente llama lhs.swap(rhs) .Original:
Specializes the std::swap algorithm for std::packaged_task. 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.
Contenido |
[editar] Parámetros
| lhs, rhs | - | empaquetado tareas cuyos estados a intercambiar
Original: packaged tasks 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. |
[editar] Valor de retorno
(Ninguno)
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.
[editar] Excepciones
[editar] Ejemplo
| This section is incomplete Reason: no example |
[editar] Ver también
| swaps dos objetos de tarea Original: swaps two task objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) | |