home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!news.mentorg.com!bcannard
- From: bcannard@hppcb36.mentorg.com (Bob Cannard @ PCB x5565)
- Subject: Re: Design of Constructors
- Originator: bcannard@hppcb36
- Message-ID: <1992Jul31.011011.12638@news.mentorg.com>
- Sender: bcannard@hppcb36 (Bob Cannard @ PCB x5565)
- Date: Fri, 31 Jul 1992 01:10:11 GMT
- References: <1992Jul30.211945.6463@mips2.ma30.bull.com>
- Nntp-Posting-Host: hppcb36.mentorg.com
- Organization: Mentor Graphics
- Keywords:
- Followup-To:
- Lines: 14
-
-
- horvath@granite.ma30.bull.com (John Horvath) writes:
- > Executive summary: If constructors can't return values, is it their intent
- > they should not try to do anything that can fail?
-
- No, the idea is that they throw an exception if they fail. Pity it's taking so
- long for the blasted things to get implemented...
-
- Cheers and much patience,
-
- Bob.
- --
- bob_cannard@mentorg.com "Mr. Cthulhu? This is your wake-up call..."
- Exprssed opinions are not necessarily those of Mentor Graphics Corporation.
-