Disable the copy-assignment operator of atomic<> and use operator= from the base class instead.