std::kill_dependency
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. |
Elemento definito nell'header <atomic>
|
||
template< class T > T kill_dependency( T y ); |
||
Informa il compilatore che l'albero delle dipendenze avviato da un'operazione atomica carico std::memory_order_consume non si estenda oltre il valore di ritorno di std::kill_dependency, vale a dire, l'argomento non porta una dipendenza nel valore di ritorno.
Original:
Informs the compiler that the dependency tree started by an std::memory_order_consume atomic load operation does not extend past the return value of std::kill_dependency; that is, the argument does not carry a dependency into the return value.
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.
Indice |
[modifica] Parametri
y | - | l'espressione il cui valore di ritorno deve essere rimosso da un albero delle dipendenze
Original: the expression whose return value is to be removed from a dependency tree The 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
Restituisce
y
, non è più una parte di un albero delle dipendenze.Original:
Returns
y
, no longer a part of a dependency tree.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] Eccezioni
[modifica] Esempi
This section is incomplete Reason: no example |
[modifica] Vedi anche
(C++11) |
definisce i limiti di memoria di ordinazione per il data operazione atomica Original: defines memory ordering constraints for the given atomic operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) |