🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John Shilling Sat, 20 Jan 1990 19:48
Overloading ->
#250
Author: John Shilling
Date: Sat, 20 Jan 1990 19:48
13 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads