Preventing/handling space leaks

ajb at ajb at
Tue Dec 9 18:04:36 EST 2003

G'day all.

Quoting Gabriel Dos Reis <gdr at>:

> I think it is fair to characterize auto_ptr as a curiously broken
> class since its conception and design.

I also think that's a fair characterisation.  std::auto_ptr has always
struck me as a fairly brittle abstraction.  Learning that it has a new
exception safety issue doesn't exactly come as a shock.

Andrew Bromage

More information about the Haskell-Cafe mailing list