home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- 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
- From: bruceb@ctpm.uq.oz.au (Bruce Blackshaw)
- Subject: Using *new* safely
- Message-ID: <bruceb.722124804@babel.cltr.uq.oz.au>
- Summary: Using new in constructors
- Keywords: new
- Sender: news@cltr.uq.OZ.AU (Mr. Time Waster)
- Nntp-Posting-Host: pest.ctpm.uq.oz.au
- Organization: Centre for Language Teaching and Research, Uni of Queensland, AUSTRALIA.
- Date: 18 Nov 92 22:13:24 GMT
- Lines: 11
-
- I'm interested in how to safely use the new operator in the constructor of
- a complex object - if you are dynamically allocating the instance of a class
- that itself dynamically allocates in its constructor, how do you stop crashes
- due to failure of new?
-
-
- --
- ****************************************************
- Bruce Blackshaw bruceb@ctpm.uq.oz.au
- "... I'd rather be hang gliding ..."
- ****************************************************
-