Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!ists!yunexus!hydroesm!jtsv16!geac!alias!fred!rae From: rae@gpu.utcs.toronto.edu (Reid Ellis) Newsgroups: comp.lang.c++ Subject: Re: Passing by reference [when are parameters changed] Keywords: standard,variables Message-ID: Date: 29 Aug 90 16:53:01 GMT References: <2161@runxtsa.runx.oz.au> <183@logo.procase.UUCP> <15361@reed.UUCP> <3233@PEDEV.Columbia.NCR.COM> Sender: Reid Ellis Reply-To: Reid Ellis Organization: Alias Research, Inc. Toronto ON Canada Lines: 20 One less-than-pleasant method of knowing whether a parmaeter is going to be changed by a function call is to name the function appropriately. e.g. getName(string); versus setName(string); From their names, the latter would probably not change the value of "string". Basically, I agree with you. I miss being able to look at code and know immediately whether or not a parameter would be modified by that wonderfule marker, "&". Reid -- Reid Ellis 264 Broadway Avenue, Toronto ON, M4P 1V9 Canada rae@gpu.utcs.toronto.edu || rae%alias@csri.toronto.edu || +1 416 487 1383