Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 1.59 KB

issame-structure.md

File metadata and controls

76 lines (52 loc) · 1.59 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords ms.assetid
Learn more about: IsSame Structure
IsSame Structure
10/03/2018
reference
internal/Microsoft::WRL::Details::IsSame
internal/Microsoft::WRL::Details::IsSame::value
Microsoft::WRL::Details::IsSame structure
Microsoft::WRL::Details::IsSame::value constant
1eddbc3f-3cc5-434f-8495-e4477e1f868e

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.