Preventing/handling space leaks

ajb at spamcop.net ajb at spamcop.net
Tue Dec 9 18:04:36 EST 2003


G'day all.

Quoting Gabriel Dos Reis <gdr at integrable-solutions.net>:

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

Cheers,
Andrew Bromage


More information about the Haskell-Cafe mailing list