다음을 통해 공유


IsSame Structure

 

The latest version of this topic can be found at IsSame Structure.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

template <  
   typename T1,  
   typename T2  
>  
struct IsSame;  
template <  
   typename T1  
>  
struct IsSame<T1, T1>;  

Parameters

T1
A type.

T2
Another type.

Remarks

Tests whether one specified type is the same as another specified type.

Members

Public Constants

Name Description
IsSame::value Constant Indicates whether one type is the same as another.

Inheritance Hierarchy

IsSame

Requirements

Header: internal.h

Namespace: Microsoft::WRL::Details

See Also

Microsoft::WRL::Details Namespace