From: "Robert S. French" <rfrench@CS.STANFORD.EDU>
Date: Sun, 29 May 1994 01:04:56 -0700
Subject: [jody@algorithmics.com: Re: g++ (2.5.8) extension for method invocation]
Message-Id: <9405290804.AA01912@Hawg.Stanford.EDU>
This bounced due to some machine problems here...
----- Begin Forwarded Message
Received: from burdell.cc.gatech.edu by Hawg.Stanford.EDU with SMTP (5.65/-eef) id AA00118; Sat, 28 May 1994 17:32:11 -0700
Received: from gaia.cc.gatech.edu (mav@gaia.cc.gatech.edu [130.207.3.8]) by burdell.cc.gatech.edu (8.6.4/8.6.4) with ESMTP id SAA08879 for <suif-bugs@hawg.Stanford.EDU>; Sat, 28 May 1994 18:13:19 -0400
Received: from localhost (mav@localhost) by gaia.cc.gatech.edu (8.6.4/8.6.4) id SAA12900; Sat, 28 May 1994 18:13:27 -0400
Date: Sat, 28 May 1994 18:13:27 -0400
From: mav@cc.gatech.edu (Maurizio Vitale)
Message-Id: <199405282213.SAA12900@gaia.cc.gatech.edu>
To: suif-bugs@hawg
Subject: [jody@algorithmics.com: Re: g++ (2.5.8) extension for method invocation]
X-Attribution: mav
X-Mailer: Emacs 19.22.8
Reply-To: mav@cc.gatech.edu
Date: Sat, 28 May 1994 17:31:02 -0400
From: jody@algorithmics.com (Jody Goldberg)
To: mav@cc.gatech.edu
Subject: Re: g++ (2.5.8) extension for method invocation
Newsgroups: gnu.g++.help
References: <MAV.94May28122937@gaia.cc.gatech.edu>
In gnu.g++.help you write:
>gcc allows to invoke methods through pointers using the '.' operator.
>As far as I know this is an undocumented feature that I want to use.
>I'd like to know why the same freedom is not allowed for data member
>acesses and how overloading of operator '->' interact with that
>feature (in particular is the overloaded version of operator '->'
>called when I use operatore '.' on a pointer?)
>Is this extension there to stay in gcc?
No. It was a bug introduced in 2.5 that has been removed for 2.6.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jody@algorithmics.com | GO BACK AND CHANGE IT! Expecting to get
Fax: (416)-777-0767 | a design right initially is foolhardy.
| -- Paul J Lucas
----- End Forwarded Message