Export (0) Print
Expand All

kill_dependency Function

Removes a dependency.

template<class Ty>
Ty kill_dependency(
   TyArg
) _NOEXCEPT;

Arg

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

Show:
© 2014 Microsoft