I would like to do the following:
typedef atomic atomic_double;
ad += 1;
However there isn't a '+=' operator for atomic (or atomiceither) but the operator exists for atomic. Is this an oversite? I have to go through and change a lot of code to switch from just 'double' to atomic becuase += is used a lot.
Also missing is fetch_and_add and fetch_and_decrement (-=)