std::kill_dependency - cppreference.com
Espaços nominais
Variantes
Ações

std::kill_dependency

De cppreference.com

<metanoindex/>

 
 
Biblioteca operações atômica
Tipos
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Funções
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Bandeiras atômicas
Original:
Atomic flags
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Inicialização
Original:
Initialization
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Memória de encomenda
Original:
Memory ordering
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
<tbody> </tbody>
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.

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.

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.

Exceções

noexcept specification:  
<tbody> </tbody>
noexcept
  (desde C++11)

Exemplos

Veja também