mercredi 26 juillet 2017

C++11: what's the difference between atomic

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?

Aucun commentaire:

Enregistrer un commentaire