Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-03-09 12:51:03


Gennaro Prota <gennaro_prota_at_[hidden]> writes:

> On Mon, 01 Mar 2004 09:30:49 -0500, David Abrahams
> <dave_at_[hidden]> wrote:
>
>>"Peter Dimov" <pdimov_at_[hidden]> writes:
>>>
>>> Can you elaborate please. I'm slowly coming to the conclusion that any catch
>>> that can be replaced by RAII should be.
>>
>>Sad, isn't it?
>
> Out of curiosity, you say "sad" because there have been previous
> discussions with Peter and he had a different opinion?

No, because it means we have to concede an otherwise benign standard
language feature is rendered bad/dangerous/useless by various
operating environments:

          try
          {
                ...
          }
          catch(...)
          {
                //...
                throw;
          }
                

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk