harttle / harttle.github.io

Harttle Land 的源码和文章
https://harttle.land
Creative Commons Attribution 4.0 International
122 stars 32 forks source link

2015/09/19/effective-cpp-50 #171

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Effective C++ 50:为什么需要自定义 new 和 delete? | Harttle Land

实现一个operator new很容易,但实现一个好的operator new却很难。

https://harttle.land/2015/09/19/effective-cpp-50.html

hamlet2019 commented 1 year ago

请问如果要在派生类中重载new和delete 需要注意什么呢?