共用方式為


CComPtrBase::operator <

The less-than operator.

bool operator <(
   T * pT 
) const throw( );

Parameters

  • pT
    A pointer to an object.

Return Value

Returns true if the pointer managed by current object is less than the pointer to which it is being compared.

Requirements

Header: atlcomcli.h

See Also

Reference

CComPtrBase Class

Other Resources

CComPtrBase Members