• 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
Mixing Cocoa and C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mixing Cocoa and C++


  • Subject: Mixing Cocoa and C++
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Thu, 19 May 2005 13:17:37 +0100


C++ destructors are not called on C++ class in a ObjC class field, when the ObjC class is dealloced.


Any strategies for dealing with this?

I've thought of making one C++ class which contains all the C++ stuff, and just new/delete a pointer to that class from my ObjC init/delloc methods.

--
elfdata.com/plugin/ Industrial strength string processing, made easy.

"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."

_______________________________________________
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: Mixing Cocoa and C++
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: No suffix, for segmented files?
  • Next by Date: Re: XCode 2.0 build style selection
  • Previous by thread: Re: No suffix, for segmented files?
  • Next by thread: Re: Mixing Cocoa and C++
  • Index(es):
    • Date
    • Thread