P
Phlip
Newsgroupies:
[Apologies for the marginal topicality; I need to cultivate a relationship
with the Boost mailing lists that rises above distracting trivia like
this.]
The purpose of a smart pointer is to delete its pointee when it destructs,
right?
When I grab Boost 1.33.0 and open shared_ptr.hpp and search for ~, I can't
find nothing. No destructor.
What is the purpose of the shared pointer template? To wrap pointers and
then leak them?
[Apologies for the marginal topicality; I need to cultivate a relationship
with the Boost mailing lists that rises above distracting trivia like
this.]
The purpose of a smart pointer is to delete its pointee when it destructs,
right?
When I grab Boost 1.33.0 and open shared_ptr.hpp and search for ~, I can't
find nothing. No destructor.
What is the purpose of the shared pointer template? To wrap pointers and
then leak them?