名前空間
変種
操作

kill_dependency

提供: cppreference.com
< c‎ | atomic

Defined in header <stdatomic.h>
A kill_dependency(A y);
(C11およびそれ以降)
memory_order_consumeアトミックロード操作によって開始された依存関係ツリーがkill_dependencyの戻り値がはみ出さないことをコンパイラに通知します。その引数は戻り値に依存関係を運ばない、です.
Original:
Informs the compiler that the dependency tree started by an memory_order_consume atomic load operation does not extend past the return value of 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.
関数はマクロとして実装されています。 Ayのタイプです.
Original:
The function is implemented as a macro. A is the type of y.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] パラメータ

y -
その戻り値の依存関係ツリーから削除されようとしている表現
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.

[編集] 値を返します

もはや返しy、依存関係ツリーの一部.
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.