
12 Oct
2009
12 Oct
'09
10:26 p.m.
On Mon, Oct 12, 2009 at 1:43 PM, denis
Emil Dotchevski wrote:
Alternatively, you could use exception_ptr to store store the whole "low level" exception (error_infos and all) as an error_info:
This feature of nested exceptions is very cool. It gets a little bit lost in the documentation. I'd vote for providing that typedef as a standard "boost::errinfo_...".
It isn't lost, just not advertised. :) The main motivation for exception_ptr is to support transporting of exceptions between threads. OTOH, I know that translating and nesting exceptions is popular, so adding a boost::errinfo_nested_exception typedef is probably a good idea. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode