At 12:40 PM 10/8/2003, Ben Combee wrote:
There is one potential problem with POL's POLNew.h -- it defines these operators inside namespace POL, so if you aren't defining your class inside namespace POL or have a "using namespace POL;" directive, the compiler can't find the prototype. This is really a POL defect -- it shouldn't be defining the override operators inside a namespace.

(replying to myself but directed at Will)


Oops... I misread POLNew.h. The code is actually OK, correctly defining the operators in the global namespace. Only the exception type used for memory errors is defined inside namespace POL. I can reproduce your error (with new) only in a source file that has not yet included POL.h or POLNew.h.

--
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