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 | Indicates whether one type is the same as another. |
Inheritance Hierarchy
IsSame
Requirements
Header: internal.h
Namespace: Microsoft::WRL::Details
IsSame::value
Supports the WRL infrastructure and is not intended to be used directly from your code.
template <typename T1, typename T2>
struct IsSame
{
static const bool value = false;
};
template <typename T1>
struct IsSame<T1, T1>
{
static const bool value = true;
};
Remarks
Indicates whether one type is the same as another.
value
is true
if the template parameters are the same, and false
if the template parameters are different.