Ray's playground

 

Item 50: Understand when it makes sense to replace new and delete(Effective C++)

There are many valid reasons for writing custom versions of new and delete, including improving performance, debugging heap usage errors, and collecting heap usage information.

posted on 2011-04-09 21:35  Ray Z  阅读(229)  评论(0)    收藏  举报

导航