Boost logo

Boost Users :

Subject: Re: [Boost-users] [Exception] Expected<T> C++03
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2012-12-12 11:04:10


On 12.12.2012, at 16:14, Szymon Gatner wrote:

> Hi,
>
> How does std::make_exception_ptr() work (as I assume it does not throw & return current_exception() as boost::copy_exception does)? Any suggestions welcome.

By using compiler-specific knowledge of how the exception system works.
Or the same way as boost::copy_exception, like GCC's implementation. IOW, it does throw.

Sebastian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net