Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2015 Microsoft