home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH07 / A07132.TXT < prev    next >
Encoding:
Text File  |  1993-11-23  |  378 b   |  7 lines

  1. You can write a function to be called automatically whenever the
  2. new operator cannot allocate the requested space.  For example,
  3. the function may clean up memory by deleting objects
  4. no longer needed, or it may simply print a message and terminate
  5. the program.  In current and future C++ compilers, such a function
  6. is a handler for an exception thrown by the new operator.
  7.