operator< Operator (Microsoft::WRL)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at operator< Operator (Microsoft::WRL).

Determines if the address of one object is less than another.

template<class T, class U>  
bool operator<(const ComPtr<T>& a, const ComPtr<U>& b) throw();  
template<class T, class U>  
bool operator<(const Details::ComPtrRef<ComPtr<T>>& a, const Details::ComPtrRef<ComPtr<U>>& b) throw();  

Parameters

a
The left object.

b
The right object.

true if the address of a is less than the address of b; otherwise, false.

Header: client.h

Namespace: Microsoft::WRL

Microsoft::WRL Namespace

Show: