operator== Operator (Microsoft::WRL)
Equality operator for ComPtr and ComPtrRef objects.
C++
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
The left object.
b
The right object.
true
if the objects are equal; otherwise, false
.
Header: client.h
Namespace: Microsoft::WRL