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