template <class T> struct atomic;
bool), and any extended integral types needed for the typedefs in <cstdint>. These specializations have the following additional member functions:| specializations | additional member functions |
|---|---|
char extended integral types (if any) | atomic::fetch_add atomic::fetch_sub atomic::fetch_and atomic::fetch_or atomic::fetch_xor atomic::operator++ atomic::operator-- operator (comp. assign.) |
bool instantiations, only the general atomic operations are supported.| specializations | additional member functions |
|---|---|
U* (for any type U) | atomic::fetch_add atomic::fetch_sub atomic::operator++ atomic::operator-- operator (comp. assign.) |