sp_accept_owner added.

[SVN r44353]
This commit is contained in:
Peter Dimov
2008-04-12 18:22:18 +00:00
parent f85a1bf406
commit 4094c23537
5 changed files with 207 additions and 59 deletions

View File

@@ -72,7 +72,7 @@ int X::instances = 0;
template<typename T, typename U>
bool are_shared_owners(const boost::shared_ptr<T> &a, const boost::shared_ptr<U> &b)
{
return a && !(a < b) && !(b < a);
return !(a < b) && !(b < a);
}
struct Y: public boost::enable_shared_from_this<Y>