GetObjectOrNull()

SmartPtr::GetObjectOrNull() const method

Gets pointed object (if any) or nullptr. Same as get().

Object * System::SmartPtr<T>::GetObjectOrNull() const

Return Value

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

See Also