C++11: what's the difference between atomic<T>::store and atomic_store<T>

Viewed 163

One is a member function of template class std::atomic, one is template function, seems they do the same thing. As std is a class library, why it provides both class and none-class version of, I think the same operation?

Is there any real differences between them?

2 Answers
Related