home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / cplus / 11679 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.4 KB  |  34 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!usc!sdd.hp.com!mips!mips!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
  3. From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
  4. Subject: Re: Renew? And MOVE constructor/destructor.
  5. Message-ID: <1992Jul28.181614.22591@ucc.su.OZ.AU>
  6. Sender: news@ucc.su.OZ.AU
  7. Nntp-Posting-Host: extro.ucc.su.oz.au
  8. Organization: MAXTAL P/L C/- University Computing Centre, Sydney
  9. References: <1992Jul4.173316.11890@taumet.com> <1992Jul5.002414.390@frumious.uucp> <THOTH.92Jul25110048@wave.cis.ufl.edu>
  10. Date: Tue, 28 Jul 1992 18:16:14 GMT
  11. Lines: 21
  12.  
  13. In article <THOTH.92Jul25110048@wave.cis.ufl.edu> thoth@wave.cis.ufl.edu (Robert Forsman) writes:
  14. >
  15. >  Why not have ANOTHER special method (in addition to copy
  16. >construction, deletion and assignment) which is only called when an
  17. >object is being MOVED from one memory location to another?  (please
  18. >note that I am not overjoyed at the idea of another special operator.
  19. >I merely expect that the default will work fine for everything I do.)
  20.  
  21.     Very interesting idea.
  22.  
  23.     Assignment is like destroy destination followed by copy.
  24.     Move would be like then destroying the source.
  25.  
  26.     Apart from 'renew', where and how would it be used?
  27.  
  28.  
  29. -- 
  30. ;----------------------------------------------------------------------
  31.         JOHN (MAX) SKALLER,         maxtal@extro.ucc.su.oz.au
  32.     Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
  33. ;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
  34.