Why overloaded operator new is considered static

后端 未结 0 1584
我寻月下人不归
我寻月下人不归 2021-01-03 15:41

I came across a situation where there is a need to maintain a count of how many times an object is allocated or copied. [similar to ref count logic

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