🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #243

Assignment to this

#243
From: Tomas G. Rokicki
Date: Wed, 17 Jan 1990 01:19
13 lines
845 bytes
G++ is giving me `assignment of read-only parameter $this' when
compiling some of my code I'm converting from 1.2.  The member
assigning to this is not static; why can't I assign to this?

(I want to assign to this because I've got a scheme-subset
implemented in C++ as the front end of my system, and I want
tail recursion to work correctly; since I don't have first-class
continuations I just assign to `this' and pop back to the top
of the `eval' member function.)

Suggestions?

-tom
Technical Details
Message-ID: <1990Jan17.011951.21376@Neon.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!shelby!neon!rokicki

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!shelby!neon!rokicki
From: rokicki@Neon.Stanford.EDU (Tomas G. Rokicki)
Newsgroups: gnu.g++
Subject: Assignment to this
Message-ID: <1990Jan17.011951.21376@Neon.Stanford.EDU>
Date: 17 Jan 90 01:19:51 GMT
Organization: Computer Science Department, Stanford University
Lines: 13