32 Atomic operations library [atomics]

32.6 Class template atomic [atomics.types.generic]

32.6.4 Member operators common to integers and pointers to objects [atomics.types.memop]

T operator++(int) volatile noexcept; T operator++(int) noexcept;

Effects: Equivalent to: return fetchadd(1);

T operator--(int) volatile noexcept; T operator--(int) noexcept;

Effects: Equivalent to: return fetchsub(1);

T operator++() volatile noexcept; T operator++() noexcept;

Effects: Equivalent to: return fetch_­add(1) + 1;

T operator--() volatile noexcept; T operator--() noexcept;

Effects: Equivalent to: return fetch_­sub(1) - 1;