Boost logo

Boost Users :

Subject: Re: [Boost-users] How to print boost::exceptions to ostream
From: Krzysztof Czainski (1czajnik_at_[hidden])
Date: 2013-04-16 16:22:45


2013/4/16 Michael Powell <mwpowellhtx_at_[hidden]>

> Hello,
>
> Basically like the subject says. I need a way to print boost::exceptions
> through an ostream. Or std::exception if that's a better more portable
> route to take. Suggestions?
>
> Regards,
>
> Michael Powell
>
> Hi Michael,

This looks like what you need:
http://www.boost.org/doc/libs/1_53_0/libs/exception/doc/boost_exception_diagnostic_information_hpp.html

HTH, Kris



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