|
Boost : |
Subject: Re: [boost] [inspect] exceptions (FW: [Boost-users] no exceptions)
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-03-24 19:50:46
At Thu, 24 Mar 2011 11:27:23 -0700,
Emil Dotchevski wrote:
>
> > That said, "libraries should generally use BOOST_THROW_EXCEPTION" is a
> > good rule for Boost, and I wouldn't mind having something like it in
> > the inspect tests, provided that libraries with a legitimate reason
> > not to use it can be registered as exceptions to the rule.
>
> Maybe I'm missing something but what is an example of such a legitimate reason?
For example, "it buys nothing, because the library can't really work
as coded without exception support." Such is the case for
Boost.Python, I believe.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk