API Reference > OdRx Classes > OdRxObjectPtr Class > OdRxObjectPtr Methods > OdRxObjectPtr::release Method
OdRxObjectPtr::release Method
Syntax
C++
inline void release();

Releases the smart pointer reference to the referenced object.

Decrements the reference counter of the referenced object. When the reference count reaches zero, the referenced object is deleted. Smart pointer is set to a NULL.

Example of a Non-Typified Smart Pointer

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