|
Boost Users : |
From: Merrill Cornish (merrill.cornish_at_[hidden])
Date: 2005-11-26 14:40:18
Jonathan,
Yes, I should have left out the delete() for the shared_ptr version since that's
one if its big features. I have used shared_ptr code similar to your example,
but I can't use it in the case I'm thinking of. This particular pointer needs to
be passed around so a single scope doesn't work.
Thanks,
Merrill
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