Merge [51909], [51912], [52937], [53672] to release.

[SVN r55479]
This commit is contained in:
Peter Dimov committed 2009-08-08 23:21:15 +00:00
1 parent 8a421c2098
commit 63b17c24ea
11 files changed
+710 -13

No files matched your search

@@ -333,6 +333,20 @@ public:
if(pi_ != 0) pi_->weak_add_ref();
}
// Move support
#if defined( BOOST_HAS_RVALUE_REFS )
weak_count(weak_count && r): pi_(r.pi_) // nothrow
#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
, id_(weak_count_id)
#endif
{
r.pi_ = 0;
}
#endif
~weak_count() // nothrow
{
if(pi_ != 0) pi_->weak_release();