API Reference > Other Classes > OdClsIdSmartPtr Template > OdClsIdSmartPtr Methods > OdClsIdSmartPtr::release Method
OdClsIdSmartPtr::release Method
Syntax
C++
inline void release();

Releases this SmartPointer's reference to the referenced object.

Decrements the reference count of the referenced object. 

When the reference count reaches zero, the referenced object is deleted.

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