9 Dec
2003
9 Dec
'03
12:01 p.m.
Fergus Henderson <fjh@cs.mu.OZ.AU> writes: | Even the C++ standard library itself, which has been | subject to review by the world's best C++ experts, suffers | from exception safety problems. A new exception safety | problem with std::auto_ptr was discovered just last Friday! See | <http://groups.google.com.au/groups?selm=uptf3hzya.fsf%40boost-consulting.com>. | | Note that this class has already been the subject of extensive analysis | of its exception safety, and indeed the only reason that auto_ptr | was introduced in the first place was in an attempt to help guarantee | exception safety! I think it is fair to characterize auto_ptr as a curiously broken class since its conception and design.