forked from boostorg/smart_ptr
intrusive_ptr::reset added
[SVN r37406]
This commit is contained in:
@@ -105,6 +105,11 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
void reset( T * rhs )
|
||||
{
|
||||
this_type( rhs ).swap( *this );
|
||||
}
|
||||
|
||||
T * get() const
|
||||
{
|
||||
return p_;
|
||||
|
||||
Reference in New Issue
Block a user