Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bosslog!zack From: zack@bosslog.UUCP (Zacharias Beckman) Newsgroups: comp.lang.objective-c Subject: Re: Operator overloading Message-ID: <192@bosslog.UUCP> Date: 21 Dec 90 20:44:53 GMT References: <1990Dec14.155211.6598@mprgate.mpr.ca> <5928@stpstn.UUCP> Distribution: na Organization: Boss Logic Inc., Fairfield, Iowa Lines: 18 In article <5928@stpstn.UUCP> lerman@stpstn.UUCP (Ken Lerman) writes: >In article <1990Dec14.155211.6598@mprgate.mpr.ca> murphy@photon.mpr.ca writes: >->Does Objective-C support operator overloading? > >Objective-C supports method overloading, but not operator (+, -,...) >overloading. Eh? Not unless your using a better Objective-C compiler than I am! I hope you are -- then I can upgrade! Overloading is not the same as overriding; which is to say, the same method name in the same object with a different parameter list is overloading. Objective-C doesn't support that for methods, functions or operators. If I'm wrong, please let me know! -- Zacharias J. Beckman | God grant me Serenity to accept things I can't change, Lower Code Dweller | Courage to change those I can, Boss Logic Inc. | and Wisdom to know the difference. uunet!bosslog!zack | --- Sinead O'Conner.