home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12521 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!!mittle
  3. From: mittle@watson.ibm.com (Josh Mittleman)
  4. Subject: Re: Return value for the constructors.
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <1992Aug18.210209.15023@watson.ibm.com>
  7. Date: Tue, 18 Aug 1992 21:02:09 GMT
  8. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  9. References:  <3462@unisql.UUCP>
  10. Nntp-Posting-Host: siena.watson.ibm.com
  11. Organization: IBM T.J. Watson Research Center
  12. Lines: 14
  13.  
  14.  
  15. In article <3462@unisql.UUCP>, nandraj@unisql.UUCP (Nandraj Arni) writes:
  16. >    Why does C++ not let you have a return value for a constructor?
  17. > Is there any rationale behind this?
  18.  
  19. Before we answer that question, we should ask what do you want it for?  A
  20. language can't provide every conceivable feature; unless a feature is a
  21. significant improvement to the language, it is an unnecessary complication.
  22.  
  23.  
  24. ===========================================================================
  25. Josh Mittleman (mittle@watson.ibm.com)
  26. J2-C28 T.J. Watson Research Center, PO Box 704, Yorktown Heights, NY  10598
  27.