ComPtr および ComPtrRef オブジェクトのための等値演算子。
構文
WRL_NOTHROW bool operator==(
const ComPtr<T>& a,
const ComPtr<U>& b
);
WRL_NOTHROW bool operator==(
const ComPtr<T>& a,
decltype(__nullptr)
);
WRL_NOTHROW bool operator==(
decltype(__nullptr),
const ComPtr<T>& a
);
WRL_NOTHROW bool operator==(
const Details::ComPtrRef<ComPtr<T>>& a,
const Details::ComPtrRef<ComPtr<U>>& b
);
WRL_NOTHROW bool operator==(
const Details::ComPtrRef<ComPtr<T>>& a,
decltype(__nullptr)
);
WRL_NOTHROW bool operator==(
decltype(__nullptr),
const Details::ComPtrRef<ComPtr<T>>& a
);
WRL_NOTHROW bool operator==(
const Details::ComPtrRef<ComPtr<T>>& a,
void* b
);
WRL_NOTHROW bool operator==(
void* b,
const Details::ComPtrRef<ComPtr<T>>& a
);
パラメーター
a
左側のオブジェクト。
b
右側のオブジェクト。
戻り値
オブジェクトが等しい場合は true。それ以外の場合は false。
要件
ヘッダー: client.h
名前空間: Microsoft::WRL