Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!agate!pasteur!ames!hao!gatech!mcnc!thorin!unc!leech From: leech@unc.cs.unc.edu (Jonathan Leech) Newsgroups: comp.lang.c++ Subject: Re: const, reference "this" revisited ??? Message-ID: <1452@thorin.cs.unc.edu> Date: 27 Feb 88 03:19:53 GMT References: <6590014@hplsla.HP.COM> <6590018@hplsla.HP.COM> <23134@ucbvax.BERKELEY.EDU> Sender: news@thorin.cs.unc.edu Reply-To: leech@unc.UUCP (Jonathan Leech) Organization: University Of North Carolina, Chapel Hill Lines: 18 Summary: Expires: Sender: Followup-To: Distribution: Keywords: In article <23134@ucbvax.BERKELEY.EDU> serge@berkeley.edu (serge) writes: > This issue (and others) could be addressed if the method >definition/invocation syntax was > method(x, y, z ...); >instead of > x.method(y, z ...); Except you can no longer distingush a global function func(complex,int) and a member function complex::func(int) The overloading mechanism could not distingush these, nor could the programmer. Jon Leech (leech@cs.unc.edu) __@/ ``After all, the best part of a holiday is perhaps not so much to be resting yourself as to see all the other fellows busy working.'' - Kenneth Grahame, _The Wind in the Willows_