|
Boost : |
From: Zajo (emildotchevski_at_[hidden])
Date: 2006-11-09 21:11:24
> how about another choice (which is more consistent with TR2
> Diagnostics Enhancements) :
>
> error_info
>
> throw my_exception() <<
> error_info<tag_errno>(errno) <<
> error_info<tag_function>(BOOST_CURRENT_FUNCTION);
>
> catch( boost::exception & x )
> {
> x << error_info<tag_filename>(fn);
> throw;
> }
>
> Minh
Sounds good. It certainly makes sense to be consistent with TR2 Diagnostics
Enhancements. Unless someone comes up with compelling reasons why renaming
exception_info to error_info is a bad idea, I'll make the change this
weekend.
--Emil Dotchevski
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk