std::promise::operator=
Da cppreference.com.
![]() | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
promise& operator=( promise&& other ); | (1) | (dal C++11) |
promise& operator=(const promise& rhs )= delete; | (2) | (dal C++11) |
Assegna il contenuto.
Original:
Assigns the contents.
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.
1)
Spostare operatore di assegnazione. Assegna lo stato condiviso di
other
usando la semantica spostamento. other
è in stato valido, ma non definito in seguito.Original:
Move assignment operator. Assigns the shared state of
other
using move semantics. other
is in valid, but undefined state afterwards.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.
2)
promise
non è copia assegnabile.Original:
promise
is not copy-assignable.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.
[modifica]Parametri
other | - | un altro promise per acquisire lo stato diOriginal: another promise to acquire the state fromThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica]Valore di ritorno
*this
[modifica]Eccezioni
1)