Re: Cocoa from C++ (dont want to mix it)
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