Share via


IsSame::value Constant

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.

Requirements

Header: internal.h

Namespace: Microsoft::WRL::Details

See Also

Reference

IsSame Structure

Microsoft::WRL::Details Namespace