Relational Function Templates
Visual Studio 2010
Microsoft Specific
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 );