home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / cplus / 16533 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1014 b   |  25 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!europa.asd.contel.com!emory!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!bunyip.cc.uq.oz.au!cltr.uq.OZ.AU!bruceb
  3. From: bruceb@ctpm.uq.oz.au (Bruce Blackshaw)
  4. Subject: Using *new* safely
  5. Message-ID: <bruceb.722124804@babel.cltr.uq.oz.au>
  6. Summary: Using new in constructors
  7. Keywords: new
  8. Sender: news@cltr.uq.OZ.AU (Mr. Time Waster)
  9. Nntp-Posting-Host: pest.ctpm.uq.oz.au
  10. Organization: Centre for Language Teaching and Research, Uni of Queensland, AUSTRALIA.
  11. Date: 18 Nov 92 22:13:24 GMT
  12. Lines: 11
  13.  
  14. I'm interested in how to safely use the new operator in the constructor of
  15. a complex object - if you are dynamically allocating the instance of a class
  16. that itself dynamically allocates in its constructor, how do you stop crashes
  17. due to failure of new?
  18.  
  19.  
  20. --
  21. ****************************************************
  22. Bruce Blackshaw bruceb@ctpm.uq.oz.au   
  23. "... I'd rather be hang gliding ..."
  24. ****************************************************
  25.