$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Ani Taggu (yg-boost-users_at_[hidden])
Date: 2002-12-15 01:32:04
Hi:
I am using windows 2000 with VC 6.0 and boost 1.28.
In my project, I have an array of pointers to objects:
class foo
{
public:
~foo() {}
private:
std::vector<boost::shared_ptr<MyType> > myArr_;
};
I found that the destructor for MyType is never called. Printing the
shared_ptr::use_count = 6 at ~foo() above.
Any suggestions on what could be happening and how to approach the
debugging?
Thanks,
-Ani