|
Boost : |
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-03-09 16:16:39
David Abrahams wrote:
[...]
> No, because it means we have to concede an otherwise benign standard
> language feature is rendered bad/dangerous/useless by various
> operating environments: [... catch/re-throw ...]
try
{
pi_ = new sp_counted_base_impl<P, D>(p, d);
}
join_catch(...) // nothrow region
{
d(p); // delete p
// throw;
}
regards,
alexander.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk