From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2007-10-02 21:46:45
On 10/2/07, Emil Dotchevski <emil_at_[hidden]> wrote:
> The easiest way to port existing code to using boost::exception is to
> use enable_error_info. This adds no boilerplate code, and requires no
> changes to any exception classes. All you have to do is replace "throw
> my_exception(a,b,c)" with "throw
Has the approach of saving all data to a global structure (instead of
to the exception class hierarchy itself) been considered?
PS: I'm not suggesting it should be done that way, but only asking if
it was considered at all.
> Emil Dotchevski
-- Felipe Magno de Almeida
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk