std::unique_lock::operator=
Da cppreference.com
< cpp | thread | unique lock
![]() |
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. |
unique_lock& operator=( unique_lock&& other ); |
(desde C++11) | |
Mova operador de atribuição. Substitui o conteúdo com os de
other
usando semântica mover. Original:
Move assignment operator. Replaces the contents with those of
other
using move semantics. 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.
Se antes do *this chamada tem um mutex associado e adquiriu propriedade, o mutex é desbloqueado.
Original:
If prior to the call *this has an associated mutex and has acquired ownership of it, the mutex is unlocked.
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] Parâmetros
other | - | unique_lock outro para substituir o estado comOriginal: another unique_lock to replace the state withThe 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
*this