C ++ 11: what's the difference between atomic <T> :: store and atomic_store <T>
One of them is a member function of the template class std::atomic, one of them is a function of the template, it seems that they are doing the same. Since it stdis a class library, why does it provide both a class and a non-classical version, I think the same operation?
Are there any real differences between them?
+4
2 answers