[EMAIL PROTECTED] (Thomas Costa) wrote on 13.10.05 in <[EMAIL PROTECTED]>:
> On 13 Oct 2005, at 7:41 AM, Benjamin Kosnik wrote: > > > > > > >> yeah, if it were in one of those books it could be added to the - > >> weff-c+ > >> + option. It doesn't seem sensible to add a different option for an > >> alternative (set of?) coding rule(s). > >> > > > > FYI this is item 13 in MEC++. > > > > It is on just about any decent modern C++ coding guide/list somewhere. > > > I think this would be a good error to have. My suggestion is to > > file an > > enhancement request in gcc bugzilla, with this code: > > > > #include <stdexcept> > > > > void > > foo() > > { > > try > > { > > } > > catch (std::logic_error e) > > { > > } > > } So what you say is that any decent modern C++ coding guide/list wants to forbid catching the C++ standard exceptions, and anything derived from them? How on earth can that count as "decent"?! MfG Kai