This documentation is archived and is not being maintained.

kill_dependency Function

Removes a dependency.

template<class Ty>
Ty kill_dependency(


A value of type Ty.

The return value is Arg. The evaluation of Arg does not carry a dependency to the function call. By breaking a possible dependency chain, the function might permit the compiler to generate more efficient code.

Header: atomic

Namespace: std