Path: 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 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