🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.objective-c
Article #218

Re: Operator overloading

#218
From: Zacharias Beckman
Date: Fri, 21 Dec 1990 20:44
18 lines
1322 bytes
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.
Technical Details
Message-ID: <192@bosslog.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bosslog!zack
References: <1990Dec14.155211.6598@mprgate.mpr.ca> <5928@stpstn.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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