API Reference > Other Classes > OdSmartPtr Template > OdSmartPtr Methods > get Method > OdSmartPtr::get Method ()
OdSmartPtr::get Method ()
Syntax
C++
T* get();

Returns the raw pointer to the referenced object.

The smart pointer maintains its reference to the referenced object. The reference counter of the referenced object is not changed.

Example of a Typified Smart Pointer

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