get_weak()

WeakPtr::get_weak() const method

Gets referenced object. Asserts that pointer is in weak mode.

Object * System::WeakPtr<T>::get_weak() const

Return Value

Raw pointer to referenced object (if assigned and not expired) or nullptr.

See Also