Atomically increment the value stored in *this and return the old value.
integral-type operator++(int) volatile;
- Returns:
this->fetch_add(1,std::memory_order_seq_cst).- Throws:
Nothing.
#include <atomic>
Atomically increment the value stored in *this and return the old value.
integral-type operator++(int) volatile;
this->fetch_add(1,std::memory_order_seq_cst).
Nothing.
#include <atomic>