Purpose of non-member functions like atomic_store()

Viewed 144

I read the documentation of atomic_store and I understand what it is doing. The question is rather why is this non-member function there? What does it provide what member function doesn't? I mean member functions of std::atomic like std::atomic::store()

There is also a bunch of such functions here.

1 Answers
Related