|
Boost : |
From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-03-17 22:26:26
on 3/17/00 5:01 PM, Miki Jovanovic at miki_at_[hidden] wrote:
>
> Hi all,
>
> It just occured to me that the
>
> noncopyable() {}
> ~noncopyable() {}
>
> should be
>
> noncopyable() throw() {}
> ~noncopyable() throw() {}
>
> Cheers,
>
> Miki.
<steam rising...>
We eschew exception-specifications at boost. For the reasons why, see...
[Sheesh, Beman, I guess this comes up often enough that we ought to get the
rationale on the site. Egroups is a lovely host but their search engine
leaves something to be desired. I can't find the original posting.]
In brief, they provide no compile-time safety and lead to worse generated
code on many (if not most) compilers.
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk