|
Boost Users : |
From: Pavel Syomin (syomin_at_[hidden])
Date: 2007-07-18 03:26:09
Hello!
I found another difference between shared_ptr and intrusive_ptr behavior:
* shared_ptr destructor never throw exceptions;
* intrusive_ptr destructor can throw exceptions.
In my opinion, ~intrusive_ptr() should not throw exceptions too, because
current behavior is much complicated and fraught with memory leak bugs.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net