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

+17
View File
@@ -109,6 +109,23 @@ public:
return *this;
}
#endif
// Move support
#if defined( BOOST_HAS_RVALUE_REFS )
intrusive_ptr(intrusive_ptr && rhs): px( rhs.px )
{
rhs.px = 0;
}
intrusive_ptr & operator=(intrusive_ptr && rhs)
{
this_type(std::move(rhs)).swap(*this);
return *this;
}
#endif
intrusive_ptr & operator=(intrusive_ptr const & rhs)