Espaços nominais
Variantes
Acções

std::kill_dependency

Da cppreference.com
< cpp‎ | atomic

 
 
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.
kill_dependency
(C++11)
 
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.

Í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.

[editar] Exceções

noexcept specification:  
noexcept
  (desde C++11)

[editar] Exemplos

[editar] Veja também

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) [edit]