System::WeakReference< T >::operator== 方法

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

比较引用的对象与另一个 WeakReference 类实例。

bool System::WeakReference<T>::operator==(const WeakReference<T> &other) const
参数类型描述
otherconst WeakReference<T>&Object 比较。

ReturnValue

如果比较的对象引用相同对象则为 true,否则为 false。

另见

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

检查被引用的对象是否为空。

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

ReturnValue

如果引用的对象为 null 则为 true,否则为 false。

另见