🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tomas G. Rokicki Wed, 17 Jan 1990 01:19
Assignment to this
#243
Author: 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
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