home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / cplus / 11434 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.1 KB

  1. Path: sparky!uunet!mcsun!sunic!hagbard!loglule!jbn
  2. From: jbn@lulea.trab.se (Johan Bengtsson)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ Return Types
  5. Message-ID: <4722@holden.lulea.trab.se>
  6. Date: 23 Jul 92 19:15:31 GMT
  7. References: <23269@alice.att.com>
  8. Organization: Telia Research AB, Aurorum 6, 951 75 Lulea, Sweden
  9. Lines: 17
  10. X-Newsreader: Tin 1.1 + PL3
  11.  
  12.  
  13. ark@alice.att.com (Andrew Koenig) writes:
  14. : In article <1992Jul21.112354.1@vax1.umkc.edu> kramasamy@vax1.umkc.edu writes:
  15. : >     If we adopt the second solution for the above class definition we run
  16. : > into problems of deallocating 'ptr' thro' destructor and the calling routine will
  17. : > get a garbage bitmap. How can we return for such cases?
  18. : By making sure the bitmap class has a properly defined copy constructor.
  19.  
  20.     ... and assignment operator.
  21.  
  22. -- 
  23. --------------------------------------------------------------------------
  24. | Johan Bengtsson, Telia Research AB, Aurorum 6, S-951 75 Lulea, Sweden  |
  25. | Johan.Bengtsson@lulea.trab.se; Voice:(+46)92075471; Fax:(+46)92075490  |
  26. --------------------------------------------------------------------------
  27.