🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #669

Can't assign 'this' in a constructor

#669
From: Michael Tiemann
Date: Sat, 02 Dec 1989 23:25
8 lines
910 bytes
If you want to assign to `this', you must use the flag
-fthis-is-variable.  The 2.0 language spec permits GNU C++ to be picky
about this matter, though it suggests compiler writers go easy on
their users by giving the a flag whereby original behavior is
restored.  GNU C++ has never allowed `this' to be assigned outside of
constructors and destructors, so there is no behvior to restore there.

Michael
Technical Details
Message-ID: <8912022325.AA05068@lurch.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!LURCH.STANFORD.EDU!tiemann
References: <8912022231.AA26818@qna.cos.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!LURCH.STANFORD.EDU!tiemann
From: tiemann@LURCH.STANFORD.EDU (Michael Tiemann)
Newsgroups: gnu.g++.bug
Subject: Can't assign 'this' in a constructor
Message-ID: <8912022325.AA05068@lurch.Stanford.EDU>
Date: 2 Dec 89 23:25:55 GMT
References: <8912022231.AA26818@qna.cos.com>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@lurch.stanford.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 8