Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-03-10 08:22:02


Gennaro Prota <gennaro_prota_at_[hidden]> writes:

> On Tue, 09 Mar 2004 12:51:03 -0500, David Abrahams
> <dave_at_[hidden]> wrote:
>
>>Gennaro Prota <gennaro_prota_at_[hidden]> writes:
>>>
>>> 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;
>> }
>>
>
> Well, yes, but it seemed that Peter was making a more general point
> ("any catch that can be replaced", not just catch(...))

...and what other catches can be replaced by RAII?

-- 
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