Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Supports the WRL infrastructure and is not intended to be used directly from your code.
bool operator==(
const Details::ComPtrRef<ComPtr<T>>& a,
const Details::ComPtrRef<ComPtr<U>>& b
);
bool operator==(
const Details::ComPtrRef<ComPtr<T>>& a,
decltype(__nullptr)
);
bool operator==(
decltype(__nullptr),
const Details::ComPtrRef<ComPtr<T>>& a
);
bool operator==(
const Details::ComPtrRef<ComPtr<T>>& a,
void* b
);
bool operator==(
void* b,
const Details::ComPtrRef<ComPtr<T>>& a
);
Parameters
a
A reference to a ComPtrRef object.b
A reference to another ComPtrRef object, or a pointer to an anonymous type (void*).
Return Value
The first operator yields true if object a is equal to object b; otherwise, false.
The second and third operators yield true if object a is equal to nullptr; otherwise, false.
The fourth and fifth operators yield true if object a is equal to object b; otherwise, false.
Remarks
Indicates whether two ComPtrRef objects are equal.
Requirements
Header: client.h
Namespace: Microsoft::WRL::Details