Boost logo

Boost :

Subject: Re: [boost] Policy proposal: All user-visible exceptions should be thrown through BOOST_THROW_EXCEPTION
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2012-06-28 16:16:05

On Thu, Jun 28, 2012 at 10:42 AM, Brian Wood <woodbrian77_at_[hidden]> wrote:

> I haven't found much on use cases in single threaded programs.
> Do you have any links? I did find the following comment in some
> code that uses exception_ptr.

Any time when a failure can't be handled at the time it is reported, which
usually involves asynchronous operations, which usually involves multiple

> "The reason here is that construction/destruction of an exception_ptr
> are not "cheap""

Calling boost::throw_exception doesn't construct or destruct exception_ptr
objects. Any use of boost::exception_ptr requires #including

Emil Dotchevski
Reverge Studios, Inc.

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