• 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
can C++ object use Object C objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can C++ object use Object C objects?


  • Subject: can C++ object use Object C objects?
  • From: Scott Andrew <email@hidden>
  • Date: Fri, 2 Sep 2005 14:19:16 -0700

Ok. i thought i had seen docs on this but can't find it.

Using the GNU compiler can a C++ object use ObjectC objects? Can i say

void foo::myfunc()
{
    [object message];
}

can C++ use and return objective C objects?

The reason i am asking is I am trying to write some cross platform C+ + classes to handle URL data and parsing using LIBXML. There are classes for the objects that it returns and i can either create C++ versions of the classes that have the proper native representation (some might have to be re-wrapped into objective c classes for array controllers on the mac side).

I didn't want to duplicate the the URL building and data mining across my platforms.

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


  • Follow-Ups:
    • Re: can C++ object use Object C objects?
      • From: KJ Walker <email@hidden>
  • Prev by Date: Re: Xcode Events for External Editors
  • Next by Date: Re: can C++ object use Object C objects?
  • Previous by thread: Re: Destructor and exit()
  • Next by thread: Re: can C++ object use Object C objects?
  • Index(es):
    • Date
    • Thread