Why does std::shared_ptr::use_count() use relaxed_memory_order instead of full memory barrier?

前端 未结 0 1191
野性不改
野性不改 2021-02-08 12:53

Please note this is not the same question as Why does libc++\'s implementation of shared_ptr use full memory barriers instead of relaxed? .

cppreference says

相关标签:
回答
  • 消灭零回复
提交回复
热议问题