https://www.zhihu.com/question/56836057?sort=created
解决方法
c++11:
https://en.cppreference.com/w/cpp/memory/shared_ptr/atomic
c++20:
std::atomic<std::shared_ptr
https://www.zhihu.com/question/56836057?sort=created
解决方法
c++11:
https://en.cppreference.com/w/cpp/memory/shared_ptr/atomic
c++20:
std::atomic<std::shared_ptr