Boost logo

Boost :

Subject: Re: [boost] [exception] Incompatibility between boost::throw exception and throw prototype declarations
From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-09-06 00:52:01


On Fri, Sep 5, 2008 at 9:42 PM, vicente.botet <vicente.botet_at_[hidden]> wrote:
> Hi,
>
> As boost::throw_exception can now throw un unspecified exception throgh the
> use of enable_current_exception, do it is no more possible to use throw
> declaration in the prototype of any function calling functions that directly
> or indirectly calls throw_exception. See enable_current_exception
> declaration in the documentation.
>
> namespace
> boost
> {
> template <class T>
> ---unspecified--- enable_current_exception( T const & e );
> }
>
> Does it means that we have a interface change of the boost::throw
> function since it was implemented by the Boost.Exception library on 1.36.0?

Umm..... Whaaaat?

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