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

  1. Path: sparky!uunet!walter!att!att!allegra!alice!ark
  2. From: ark@alice.att.com (Andrew Koenig)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Handling of operator . pro
  5. Message-ID: <23368@alice.att.com>
  6. Date: 31 Jul 92 13:50:46 GMT
  7. Article-I.D.: alice.23368
  8. References: <memo.551143@cix.compulink.co.uk>
  9. Reply-To: ark@alice.UUCP ()
  10. Organization: AT&T Bell Laboratories, Liberty Corner NJ
  11. Lines: 17
  12.  
  13. In article <memo.551143@cix.compulink.co.uk> vadim@cix.compulink.co.uk writes:
  14.  
  15. >   class Something &k;
  16. >   k.anything();
  17.  
  18. > In the case of references 'operator .' DEFINITELY HAS runtime behaviour.
  19.  
  20. Not really -- it is the use of the reference that matters, not the use of .
  21.  
  22. For example, if I say
  23.  
  24.     class Something* p = &k;
  25.  
  26. exactly the same runtime behavior will occur.
  27. -- 
  28.                 --Andrew Koenig
  29.                   ark@europa.att.com
  30.