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