description | title | ms.date | ms.topic | f1_keywords | helpviewer_keywords | ms.assetid | ||||
---|---|---|---|---|---|---|---|---|---|---|
Learn more about: IsSame Structure |
IsSame Structure |
10/03/2018 |
reference |
|
|
1eddbc3f-3cc5-434f-8495-e4477e1f868e |
Supports the WRL infrastructure and is not intended to be used directly from your code.
template <typename T1, typename T2>
struct IsSame;
template <typename T1>
struct IsSame<T1, T1>;
T1
A type.
T2
Another type.
Tests whether one specified type is the same as another specified type.
Name | Description |
---|---|
IsSame::value | Indicates whether one type is the same as another. |
IsSame
Header: internal.h
Namespace: Microsoft::WRL::Details
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;
};
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.