API Reference > Other Classes > OdClsIdSmartPtr Template > OdClsIdSmartPtr Methods > OdClsIdSmartPtr::detach Method
OdClsIdSmartPtr::detach Method
Syntax
C++
inline T* detach();

Returns the object referenced by this SmartPointer object.

Releases this SmartPointer's reference to the referenced object.

The referenced object's reference count is not modified.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.