Why does std::shared_ptr::use_count() return a signed value?

前端 未结 0 2017
终归单人心
终归单人心 2021-02-02 08:34

Wondering why the number of living objects is represented as a long data type rather than for example unsigned long?

Is there some performance a

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