$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [shared_ptr] deleter that destroys shared_ptr - is it safe?
From: Igor R (boost.lists_at_[hidden])
Date: 2009-09-09 04:04:46
Peter, Stefan, thanks for your clarifications.
My question arose from the sad fact that MSVC9.0SP1 doesn't implement
tr1::shared_ptr to be safe for the above scenario. So I try to figure
out whether it's a bug or legetimate implementation.
> it is, because shared_ptr::reset() is specified to be equivalent to shared_ptr().swap(*this).
I found this statement in the boost doc, but does it appear in the
Standard, or is it boost-specific?
Thanks again.