◐ Shell
clean mode source ↗

std::kill_dependency - cppreference.com

De cppreference.com

<metanoindex/>

<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

Exemplos

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]