Wednesday, October 27, 2010

operator new() and operator delete()

operator new() and operator delete() are static functions, even if you do not declare them as static functions.

It is recommended that you always declare them as static for maintenance purposes.

Reference: Exceptional C++ by Herb Sutter. Addison-Wesley, 1999, p. 146.

No comments:

Post a Comment