discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: operator overloading


From: Jeff Teunissen
Subject: Re: operator overloading
Date: Wed, 15 Mar 2006 17:57:43 -0500
User-agent: Mail/News 1.5 (X11/20060228)

Pete French wrote:
>> 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.)
> 
> Dont have the original post to reply to, but it occurs to me that the
> original posted can simply write in ObjC++ and use C++'s operator
> overloading if they really feel they have to do this. Wont that work ?

No, it won't.

Objective-C objects/classes cannot take part of C++ features in ObjC++.

-- 
| Jeff Teunissen  -=-  Pres., Dusk To Dawn Computing  -=-  deek @ d2dc.net
| GPG: 1024D/9840105A   7102 808A 7733 C2F3 097B  161B 9222 DAB8 9840 105A
| Core developer, The QuakeForge Project        http://www.quakeforge.net/
| Specializing in Debian GNU/Linux              http://www.d2dc.net/~deek/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]