On Mon, Sep 28, 2009 at 11:50 AM, Sander Stoks <san...@stoks.nl> wrote:
> That is by no means dictated by C++.  In fact, it's quite common to reserve
> exceptions for "exceptional" cases in C++ as well.  C++ exceptions can be
> free as long as they aren't thrown, but the cost if they are can be
> substantial.

Nobody said it was dictated.  I just said that the C++ code in some of
the frameworks uses exceptions this way.

Cocoa, however, *does* dictate the proper use of exceptions, and it
doesn't always jive with C++ code that shares the unified exception
model.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to