|
Boost : |
From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 2000-04-14 12:15:18
Dave Abrahams wrote:
> OK, though I don't really think that carries much weight, since it doesn't
> make any sense to have a throw from a destructor under current language
> rules.
Whether it is allowed or not by your personal coding
conventions, it makes a lot of sens to throw in a dtor
and never leads to undefined behaviour.
(It's the same as throwing from a ctor, and carries the
same myths and legends as throwing from a ctor used to
carry some time ago.)
-- Valentin Bonnard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk