• 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: c++ exceptions in objective c call stack
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c++ exceptions in objective c call stack


  • Subject: Re: c++ exceptions in objective c call stack
  • From: Bill Bumgarner <email@hidden>
  • Date: Fri, 04 Jul 2008 12:45:21 -0700

In the 32 bit [legacy] Mac OS X runtime, C++ and Objective-C exceptions Do Not Mix. Oil & water. C++ exceptions are ignored by @try/@catch and vice-versa.

In the modern runtime (64 bit Mac OS X & elsewhere), the exception model has been unified. Not only are C++ and Objective-C exceptions compatible, but C++ destructors will also be called as appropriate.

The legacy runtime will never be unified due to binary compatibility restrictions.

b.bum

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: c++ exceptions in objective c call stack
      • From: "Jim Crafton" <email@hidden>
References: 
 >c++ exceptions in objective c call stack (From: "Jim Crafton" <email@hidden>)

  • Prev by Date: c++ exceptions in objective c call stack
  • Next by Date: Re: NSStatusItem custom view with menu
  • Previous by thread: c++ exceptions in objective c call stack
  • Next by thread: Re: c++ exceptions in objective c call stack
  • Index(es):
    • Date
    • Thread