Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC


Version: 1.1

Posted: 2006-10-03

Build Requirements: Mac OS X

Runtime Requirements: C++

View Source Code:

Download Sample (“”, 26.8K)
Download Sample (“CxxNewDelete.dmg”, 87.0K)


This simple example shows how to override the global C++ 'new' and 'delete' operators.

Document Revision History

Date Notes
2006-07-27How to override the C++ 'new' and 'delete' operators.

Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.