[Digikam-devel] [Bug 154941] Improve exception safety with smart pointers
Markus Elfring
Markus.Elfring at web.de
Fri Jan 4 21:13:26 GMT 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=154941
------- Additional Comments From Markus.Elfring web de 2008-01-04 22:13 -------
I doubt that the first AlbumStack object will be properly deleted if the second allocation will throw an exception in the AlbumHistory constructor.
How do you think about the chance to omit explicit delete instructions?
http://www.gotw.ca/publications/using_auto_ptr_effectively.htm
More information about the Digikam-devel
mailing list