Re: Function overloading for ObjC classes
Re: Function overloading for ObjC classes
- Subject: Re: Function overloading for ObjC classes
- From: Allan Odgaard <email@hidden>
- Date: Sun, 22 Feb 2004 08:06:55 +0100
On 22. Feb 2004, at 8:00, Jens Bauer wrote:
You can't do that.
ObjC isn't like C++. It's more like an extension of C. It does not
support function overriding.
Well, I am using ObjectiveC++... and function overloading has worked so
far with ObjC types -- it also does work as long as NSMutableData and
NSData are defined (i.e. using @class) but not declared (with
@interface), but that is practically impossible in a real application.
So i really think this is a bug.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.