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.