> Can anyone suggest
> how best to simulate operator overloading, which is missing from Objective
> C? I would like to overload operators such as "add" or "multiply." Can I
Operator overloding is "missing" in ObjC as it is strictly speaking not a 
principle of object orientation, but originates from ADT-based languages like 
Ada. (So they might be of choice for you.) But if I understand you correctly 
you can achieve approximately what you want simply by writing methods like 
-(myObject) add: (myObject *) secondAddend; and so on.

Sorry if I am completely missing the point. Seems likely to me.

Ingolf
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstarkeren E-Mail-Postfach!        
        
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to