다음을 통해 공유


atomic::operator-- 연산자

저장된 값을 감소 시킵니다. 포인터와 정수 계열 특수화만 사용합니다.

Ty atomic<Ty>::operator--(int) volatile _NOEXCEPT;
Ty atomic<Ty>::operator--(int) _NOEXCEPT;
Ty atomic<Ty>::operator--() volatile _NOEXCEPT;
Ty atomic<Ty>::operator--() _NOEXCEPT;

반환 값

The first two operators return the decremented value; the last two operators return the value before the decrement. The operators use the memory_order_seq_cst memory_order.

요구 사항

헤더: atomic

네임스페이스: std

참고 항목

참조

atomic 구조체

<atomic>

atomic_fetch_sub_explicit 함수