Partager via


IsBaseOfStrict Structure

 

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 IsBaseOfStrict Structure.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

template <  
   typename Base,  
   typename Derived  
>  
  
struct IsBaseOfStrict;  
template <  
   typename Base  
>  
struct IsBaseOfStrict<Base, Base>;  

Parameters

Base
The base type.

Derived
The derived type.

Remarks

Tests whether one type is the base of another.

The first template tests whether a type is derived from a base type, which might yield true or false. The second template tests whether a type is derived from itself, which always yields false.

Members

Public Constants

Name Description
IsBaseOfStrict::value Constant Indicates whether one type is the base of another.

Inheritance Hierarchy

IsBaseOfStrict

Requirements

Header: internal.h

Namespace: Microsoft::WRL::Details

See Also

Microsoft::WRL::Details Namespace