• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Function overloading for ObjC classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Function overloading for ObjC classes
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Function overloading for ObjC classes (From: Jens Bauer <email@hidden>)

  • Prev by Date: Re: Function overloading for ObjC classes
  • Next by Date: Re: adding to my UI - Thanks
  • Previous by thread: Re: Function overloading for ObjC classes
  • Next by thread: Re: Function overloading for ObjC classes
  • Index(es):
    • Date
    • Thread