
Gennaro Prota <gennaro_prota@yahoo.com> writes:
On Mon, 01 Mar 2004 09:30:49 -0500, David Abrahams <dave@boost-consulting.com> wrote:
"Peter Dimov" <pdimov@mmltd.net> 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