At 05:10 PM 9/10/2003, Alexander Galkin wrote:
How do I overwrite operator new which is a class member and global operator
new? CodeWarrior gives me all kind of stupid errors. I tried the same code
in VC++ for testing and it compiles and works fine.

Make sure you use the right prototype. #include <new> and make your operators exactly match the form used in that header, including the exception throw specifier.


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to