다음을 통해 공유


kill_dependency 함수

Removes a dependency.

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

매개 변수

  • Arg
    Ty 형식의 값입니다.

반환 값

반환 값이 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.

요구 사항

헤더: atomic

네임스페이스: std

참고 항목

참조

<atomic>