This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [libstdc++ PATCH] Fix leak in _Rb_tree::_M_insert (stl_tree.h)
On Fri, Feb 25, 2005 at 02:07:49PM +0100, Paolo Carlini wrote:
> Jonathan Wakely wrote:
>
> >No need to change anything outside that function, see patch.
> >
> >
> Hey Jon, you are not serious, right? In the library we have literaly
> *hundreds* of try/catch and a real workplan for Gaby proposal
> certainly does not involve adding the same local class for each one!
No, I wasn't serious about adding that as it was, I had misunderstood
Earl and was just giving an example (names weren't uglified for a start).
Once I realised what Earl had actually said, I realised I was being dumb!
Obviously to do it consistently everywhere *would* mean changing
something outside that function, and certainly wouldn't use a local
class - so my example was completely pointless. Doh.
jon
--
"Most people would sooner die than think; in fact, they do so."
- Bertrand Russell