std::kill_dependency
Da cppreference.com
![]() |
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. |
Definido no cabeçalho <atomic>
|
||
template< class T > T kill_dependency( T y ); |
||
Informa o compilador que a árvore de dependência começou por uma operação de carga std::memory_order_consume atômica não se estende além do valor de retorno de std::kill_dependency, isto é, o argumento não procede uma dependência para o valor de retorno.
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.
Índice |
[editar] Parâmetros
y | - | a expressão cujo valor de retorno deve ser removido a partir de uma árvore de dependência
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. |
[editar] Valor de retorno
Retorna
y
, não mais uma parte de uma árvore de dependência.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.
[editar] Exceções
[editar] Exemplos
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
(C++11) |
define restrições de memória de encomenda para a operação dada atômica 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) |