Boost logo

Boost :

Subject: [boost] [exception] updated in the trunk and in the release branch
From: Emil Dotchevski (emil_at_[hidden])
Date: 2009-04-09 14:24:48

Two new functions added: current_exception_cast
and current_exception_diagnostic_information

There is a minor breaking change in the interface of the
get_error_info function: it used to return shared_ptr, now it returns
just a raw pointer:
This limits the lifetime of error_info objects to not exceed the
lifetime of the exception object, which could make custom
platform-specific error_info optimizations possible (the type of the
pointee is guaranteed to be copyable, so if the user needs to hold on
to it after the exception object has expired, they can simply copy it
instead of relying on shared_ptr to keep it afloat.)

Emil Dotchevski
Reverge Studios, Inc.

Boost list run by bdawes at, gregod at, cpdaniel at, john at