Subject: Re: [boost] [exception]throw_exceptions concerns
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-01-02 18:53:18
On Fri, Jan 2, 2009 at 2:37 PM, Mathias Gaunard
> Emil Dotchevski wrote:
>> Boost::exception is copy constructable but its copy constructor is
> Doesn't the standard mandate a public copy constructor for exception types?
Yes, but you never throw boost::exception, you throw types that derive
from it, which are required to have public copy constructor.
You can still catch(boost::exception &), and you can still re-throw
using a throw-expression with no operand (15.1.6).
Reverge Studios, Inc.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk