From: Vaclav (vjedlicka_at_[hidden])
Date: 2007-03-19 10:19:14


That seems to work. Thank you!

btw is this the correct test?

if(myweakPtr2.use_count() > 0)

or it there a better way to check whether a smart pointer is still pointing?

Thanks
Vaclav