Chapter Contents

Previous

Next
738

738



ERROR: Missing or ambiguous delete operator `operator-name'.


Explanation


Explanation

A new expression was encountered and there were either zero or multiple corresponding delete operators found for handling cleanup in cases where the new object initialization throws an exception. operator delete will not be called to release the memory for the object during exception handling. This message indicates a potential memory leak. Note that the operator delete name is looked up by the same method used for delete expressions, so the name may be found in a different scope than the operator new name. This message is diagnosed with the STRICT option.


Chapter Contents

Previous

Next

Top of Page

Copyright © 2004 by SAS Institute Inc., Cary, NC, USA. All rights reserved.