I want to verify that my understanding is correct. This kind of thing is tricky so I'm almost sure I …
c++ g++ atomic atomic-swapSwapping two unique_ptrs is not guaranteed to be threadsafe. std::unique_ptr<T> a, b; std::swap(…
c++ c++11 unique-ptr lock-free atomic-swap