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.

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

Parameters

Base
The base type.

Derived
The derived type.

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.

Public Constants

NameDescription
IsBaseOfStrict::value ConstantIndicates whether one type is the base of another.

IsBaseOfStrict

Header: internal.h

Namespace: Microsoft::WRL::Details

Microsoft::WRL::Details Namespace

Show: