home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13376 < prev    next >
Encoding:
Text File  |  1992-09-08  |  688 b   |  21 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!pipex!warwick!nott-cs!lut.ac.uk!cojm2
  3. From: J.March@lut.ac.uk
  4. Subject: Novice question
  5. Message-ID: <1992Sep5.030224.13196@lut.ac.uk>
  6. Reply-To: J.March@lut.ac.uk (Jon March)
  7. Organization: Loughborough University, UK.
  8. References: <1992Sep1.213224.7550@actrix.gen.nz> <79153@ut-emx.uucp>
  9. Date: Sat, 5 Sep 92 03:02:24 GMT
  10. Lines: 9
  11.  
  12. I'm getting quite few "warning: assignment to this (anachronism)" messages
  13. from my compiler.  I do actually want to do this, so how do I let my
  14. compiler know that I *really* mean it.
  15.  
  16. By declaring "this" to be a *const, is "this" effectively being passed by 
  17. reference?  Thinking of the semantics here.
  18.  
  19. Jon March
  20.  
  21.