API Reference > OdRx Classes > OdRxObjectPtr Class > OdRxObjectPtr Operators > OdRxObject* Operator > OdRxObjectPtr::OdRxObject* Operator ()
OdRxObjectPtr::OdRxObject* Operator ()
Syntax
C++
operator OdRxObject*() const;

Returns the raw pointer to the referenced object.

The class maintains the reference to the referenced object. The reference counter of the referenced object is not changed. 

This non-standard form is used to eliminate a large number of compiler warnings produced by GCC 2.95.X (GCC 3.X no longer produces these warnings).

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