IsSame::value Constant
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 IsSame::value Constant.
Supports the WRL infrastructure and is not intended to be used directly from your code.
Syntax
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.
Requirements
Header: internal.h
Namespace: Microsoft::WRL::Details