Article View: gnu.g++
Article #250Overloading ->
From: John Shilling
Date: Sat, 20 Jan 1990 19:48
Date: Sat, 20 Jan 1990 19:48
13 lines
985 bytes
985 bytes
Does g++ allow you to overload the member selection operation (->)?
I am using 1.35.1. It doesn't complain when I declare the overload
in the class but it barfs as soon as it sees the open brace on the
implementation. I cannot, for instance, get the examples from
Lippman, p. 270 to compile. Any help?
Thanks,
John
John J. Shilling
School of Information & Computer Science, Georgia Tech, Atlanta GA 30332
uucp: ...!{decvax,hplabs,ihnp4,linus,rutgers}!gatech!shilling
Internet: shilling@gatech.edu
Technical Details
Message-ID:
<5109@hydra.gatech.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!rex!ukma!uflorida!mephisto!prism!boa.gatech.edu!shillingShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!rex!ukma!uflorida!mephisto!prism!boa.gatech.edu!shilling From: shilling@boa.gatech.edu (John Shilling) Newsgroups: gnu.g++ Subject: Overloading -> Message-ID: <5109@hydra.gatech.EDU> Date: 20 Jan 90 19:48:58 GMT Sender: news@prism.gatech.EDU Reply-To: shilling@boa.gatech.edu (John Shilling) Distribution: gnu Organization: School of Information and Computer Science / Georgia Tech Lines: 13