ToObjectPtr()

SmartPtr::ToObjectPtr() const method

Converts any pointer type to pointer to Object. Doesn’t require Pointee_ type to be complete.

SmartPtr<Object> System::SmartPtr<T>::ToObjectPtr() const

Return Value

Raw pointer to referenced object (if any) or nullptr.

Remarks

Implementation.

See Also