std::atomic<
>
::operator--
Atomically decrement the value stored in *this and return the new value.
*this
integral-type operator--() volatile;
this->fetch_sub(1,std::memory_order_seq_cst) - 1.
this->fetch_sub(1,std::memory_order_seq_cst) - 1
Nothing.
#include <atomic>
fetch_add
std::memory_order
Design and Content © Copyright 2008-2024 Just Software Solutions Ltd. All Rights Reserved. | Privacy Policy