Effective C++ 定制new和delete Customizing new and delete
条款49:了解new-handler的行为Understandthebehaviorofthenew-handler.后续:(curiouslyrecurringtemplatepattern;CRTP),之前见过这种用法,但是忘记在什么地方了,再看看理解一下。请记住■set_new_handler允许客户指定一个函数,在内存分配无法获得满足时被调用。■Nothrownew是一个颇为局限的工具,因