operator!=()

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

Checks if referenced object is not null.

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

Return Value

True if referenced object is not 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 different objects, false if objects are same.

See Also