Boost logo

Boost :

Subject: Re: [boost] [Exception] Why is there no non-const version ofget_error_info?
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-08-23 01:42:02


On Sat, Aug 22, 2009 at 2:37 AM, Adam Badura<abadura_at_[hidden]> wrote:
>> See trunk revision 55707. Thanks for the suggestion.
>
>   Fine. But why this version requires non-const exception object? Usually
> you catch exception like "catch ( const T& e )" so it will not work. And it
> seems strange because to add data you may have a const object.

I can't think of any reason to catch a T const & instead of T &.

>   Will it be available in 1.40?

No, 1.40 is pretty much spoken for.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk