operator==()

WeakReference< T >::operator==(std::nullptr_t) const method

Checks if referenced object is null.

bool System::WeakReference<T>::operator==(std::nullptr_t) const

Return Value

True if referenced object is null, false otherwise.

WeakReference< T >::operator==(const WeakReference<T>&) const method

Compares referenced object to another instance WeakReference class.

bool System::WeakReference<T>::operator==(const WeakReference<T> &other) const

Arguments

ParameterTypeDescription
otherconst WeakReference<T>&Object compare to.

Return Value

True if compared objects reference the same object, false otherwise.

See Also