How should I write ISO C++ Standard conformant custom new and delete operators?
问题 How should I write ISO C++ standard conformant custom new and delete operators? This is in continuation of Overloading new and delete in the immensely illuminating C++ FAQ, Operator overloading, and its follow-up, Why should one replace default new and delete operators? Section 1: Writing a standard-conformant new operator Part 1: Understanding the requirements for writing a custom new operator Part 2: Understanding the new_handler requirements Part 3: Understanding specific scenario