Boost logo

Boost :

Subject: [boost] [exception] Incompatibility between boost::throw exception and throw prototype declarations
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2008-09-06 00:42:15


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?

Best,

Vicente


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