관계형 함수 템플릿
Microsoft 전용
template<typename _InterfaceType> bool operator==(
int NULL,
_com_ptr_t<_InterfaceType>& p
);
template<typename _Interface,
typename _InterfacePtr> bool operator==(
_Interface* i,
_com_ptr_t<_InterfacePtr>& p
);
template<typename _Interface> bool operator!=(
int NULL,
_com_ptr_t<_Interface>& p
);
template<typename _Interface,
typename _InterfacePtr> bool operator!=(
_Interface* i,
_com_ptr_t<_InterfacePtr>& p
);
template<typename _Interface> bool operator<(
int NULL,
_com_ptr_t<_Interface>& p
);
template<typename _Interface,
typename _InterfacePtr> bool operator<(
_Interface* i,
_com_ptr_t<_InterfacePtr>& p
);
template<typename _Interface> bool operator>(
int NULL,
_com_ptr_t<_Interface>& p
);
template<typename _Interface,
typename _InterfacePtr> bool operator>(
_Interface* i,
_com_ptr_t<_InterfacePtr>& p
);
template<typename _Interface> bool operator<=(
int NULL,
_com_ptr_t<_Interface>& p
);
template<typename _Interface,
typename _InterfacePtr> bool operator<=(
_Interface* i,
_com_ptr_t<_InterfacePtr>& p
);
template<typename _Interface> bool operator>=(
int NULL,
_com_ptr_t<_Interface>& p
);
template<typename _Interface,
typename _InterfacePtr> bool operator>=(
_Interface* i,
_com_ptr_t<_InterfacePtr>& p
);
매개 변수
i
원시 인터페이스 포인터입니다.p
스마트 포인터입니다.
설명
이러한 함수 템플릿을 비교를 하는 스마트 포인터를 비교 연산자의 오른쪽에 있습니다.이 멤버 함수는 _com_ptr_t.
Microsoft 특정 끝