home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!walter!att!att!allegra!alice!ark
- From: ark@alice.att.com (Andrew Koenig)
- Newsgroups: comp.lang.c++
- Subject: Re: Handling of operator . pro
- Message-ID: <23368@alice.att.com>
- Date: 31 Jul 92 13:50:46 GMT
- Article-I.D.: alice.23368
- References: <memo.551143@cix.compulink.co.uk>
- Reply-To: ark@alice.UUCP ()
- Organization: AT&T Bell Laboratories, Liberty Corner NJ
- Lines: 17
-
- In article <memo.551143@cix.compulink.co.uk> vadim@cix.compulink.co.uk writes:
-
- > class Something &k;
- > k.anything();
-
- > In the case of references 'operator .' DEFINITELY HAS runtime behaviour.
-
- Not really -- it is the use of the reference that matters, not the use of .
-
- For example, if I say
-
- class Something* p = &k;
-
- exactly the same runtime behavior will occur.
- --
- --Andrew Koenig
- ark@europa.att.com
-