• 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: Cocoa from C++ (dont want to mix it)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa from C++ (dont want to mix it)


  • Subject: Re: Cocoa from C++ (dont want to mix it)
  • From: Guy English <email@hidden>
  • Date: Thu, 10 Mar 2005 10:34:11 -0500

On Thu, 10 Mar 2005 11:13:16 +0100, Dominik <email@hidden> wrote:
> I did a search on google and DONT want to mix C++ and ObjectC but to
> replace it.

It's not clear what you mean. If you want Objective-C with a C++
syntax it was done in the late 90's but I don't think any one ever
used it. If you want to send objective-c style messages to C++ class
instances that's also been done. I think Sun has a patent on it.
Basically you need to work out how to have the isa pointer and vtable
co-exists. There's much more to it than that in practice though.
Consider sending a retain message to a C++ instance allocated on the
stack. Obviously it won't work.

What is it you actually want to do though? Why is the existing
Objective-C++ not suitable? Is it just a language preference kind of
thing?

Guy
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Cocoa from C++ (dont want to mix it)
      • From: Dominik <email@hidden>
References: 
 >Cocoa from C++ (From: Dominik <email@hidden>)
 >Re: Cocoa from C++ (From: j o a r <email@hidden>)
 >Re: Cocoa from C++ (dont want to mix it) (From: Dominik <email@hidden>)

  • Prev by Date: Re: NSWindow setTitle not affecting displayed title
  • Next by Date: Re: NSPopUpButton question (newbie)
  • Previous by thread: Re: Cocoa from C++ (dont want to mix it)
  • Next by thread: Re: Cocoa from C++ (dont want to mix it)
  • Index(es):
    • Date
    • Thread